From 630748ef6164a99b48f0f0cf6c625ea9e52f80e9 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Thu, 20 Aug 2009 18:16:03 +0200 Subject: [PATCH] awful.menu: only listen mouse::enter on wibox Signed-off-by: Julien Danjou --- lib/awful/menu.lua.in | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/awful/menu.lua.in b/lib/awful/menu.lua.in index abb6ca8f..a14dacd5 100644 --- a/lib/awful/menu.lua.in +++ b/lib/awful/menu.lua.in @@ -201,8 +201,6 @@ local function add_item(data, num, item_info) item:buttons(bindings) local mouse_enter_func = function () item_enter(data, num, true) end - - label:add_signal("mouse::enter", mouse_enter_func) item:add_signal("mouse::enter", mouse_enter_func) -- Create the submenu icon widget @@ -211,8 +209,6 @@ local function add_item(data, num, item_info) submenu = widget({ type = "imagebox" }) submenu.image = data.theme.submenu_icon and image(data.theme.submenu_icon) submenu:buttons(bindings) - - submenu:add_signal("mouse::enter", mouse_enter_func) end -- Add widgets to the wibox