From 4d280365ad1e1bcabc2cda2420a2233c97937d73 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Thu, 31 Mar 2011 12:36:32 +0200 Subject: [PATCH] awful.menu: Stop using the removed "screen" key Signed-off-by: Uli Schlachter --- lib/awful/menu.lua.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/awful/menu.lua.in b/lib/awful/menu.lua.in index b222747f..ce6355d8 100644 --- a/lib/awful/menu.lua.in +++ b/lib/awful/menu.lua.in @@ -298,7 +298,7 @@ function show(menu, args) local screen_index = capi.mouse.screen local keygrabber = args.keygrabber or false - menu.wibox.screen = screen_index + menu.wibox.visible = true if not set_size(menu) then return end set_coords(menu, screen_index, coords) @@ -440,7 +440,7 @@ function delete(menu, num) local item = menu.items[num] if not item then return end item.widget:disconnect_signal("mouse::enter", item._mouse) - item.widget.screen = nil + item.widget.visible = false table.remove(menu.items, num) if menu.sel == num then menu:item_leave(menu.sel)