lib/awful/menu.lua: fix item buttons
Signed-off-by: Gregor Best <farhaven@googlemail.com> Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
10bfb36d4b
commit
3f418ba79a
|
@ -134,10 +134,14 @@ local function add_item(data, num, item_info)
|
|||
end
|
||||
|
||||
label:buttons(bindings)
|
||||
item:buttons(bindings)
|
||||
|
||||
function label.mouse_enter() mouse_enter(item, data.theme) end
|
||||
function label.mouse_leave() mouse_leave(item, data.theme) end
|
||||
|
||||
function item.mouse_enter() mouse_enter(item, data.theme) end
|
||||
function item.mouse_leave() mouse_leave(item, data.theme) end
|
||||
|
||||
-- Create the submenu icon widget
|
||||
local submenu
|
||||
if type(item_info[2]) == "table" then
|
||||
|
|
Loading…
Reference in New Issue