From 36bb9b4476245519f2bdea7dde33903aa3d552bd Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Tue, 31 May 2016 14:30:14 -0400 Subject: [PATCH] menu: Fix regression There was already a bug, as self.active_child.visible was used instead of self.active_child.wibox.visible This caused some confusion that this attribute was a widget. It wasn't. --- lib/awful/menu.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/awful/menu.lua b/lib/awful/menu.lua index 4fff3df9..92c89ce0 100644 --- a/lib/awful/menu.lua +++ b/lib/awful/menu.lua @@ -249,7 +249,7 @@ function menu:exec(num, opts) self.active_child:hide() end self.active_child = self.child[num] - if not self.active_child:get_visible() then + if not self.active_child.wibox.visible then self.active_child:show() end elseif type(cmd) == "string" then