event-hooks: remove the unwanted second arg in simple hooks
This commit is contained in:

committed by
Julian Bouzas

parent
695b99f0e8
commit
82a8bc5673
@@ -161,7 +161,7 @@ SimpleEventHook {
|
||||
Constraint { "wireplumber.is-endpoint", "-", type = "pw" },
|
||||
},
|
||||
},
|
||||
execute = function (_, event)
|
||||
execute = function (event)
|
||||
local node = event:get_subject ()
|
||||
local id = node ["bound-id"]
|
||||
if items [id] then
|
||||
|
Reference in New Issue
Block a user