From 4af11b821c8aa6ff0ee7c44560f99c12c3e98936 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Wed, 6 Oct 2010 20:46:11 +0200 Subject: [PATCH] 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 --- lib/wibox/init.lua.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wibox/init.lua.in b/lib/wibox/init.lua.in index 07061639a..78838ddc6 100644 --- a/lib/wibox/init.lua.in +++ b/lib/wibox/init.lua.in @@ -158,7 +158,7 @@ local function setup_signals(wibox) wibox:add_signal(name) -- When "name" is emitted on wibox.drawin, also emit it on wibox w:connect_signal(name, function(_, ...) - wibox:emit_signal(name, wibox, ...) + wibox:emit_signal(name, ...) end) end clone_signal("mouse::enter")