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:
Uli Schlachter 2010-10-06 20:46:11 +02:00
parent 18799f32f8
commit 4af11b821c
1 changed files with 1 additions and 1 deletions

View File

@ -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")