Whoops, fix wibox signals
emit_signal() already adds the object as the first argument, so we don't have to add it ourselves. Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
18799f32f8
commit
4af11b821c
|
@ -158,7 +158,7 @@ local function setup_signals(wibox)
|
||||||
wibox:add_signal(name)
|
wibox:add_signal(name)
|
||||||
-- When "name" is emitted on wibox.drawin, also emit it on wibox
|
-- When "name" is emitted on wibox.drawin, also emit it on wibox
|
||||||
w:connect_signal(name, function(_, ...)
|
w:connect_signal(name, function(_, ...)
|
||||||
wibox:emit_signal(name, wibox, ...)
|
wibox:emit_signal(name, ...)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
clone_signal("mouse::enter")
|
clone_signal("mouse::enter")
|
||||||
|
|
Loading…
Reference in New Issue