From: Luke Bonham Date: Fri, 10 Mar 2017 19:48:11 +0000 (+0100) Subject: calendar: mouse.current_widgets safety check X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/1ece7c35b7b119ebb1c1bef33d5c04507ff2f117?hp=cc8de6a059757bc5ea3f8f7013db55ab3af924a5 calendar: mouse.current_widgets safety check --- diff --git a/widget/calendar.lua b/widget/calendar.lua index 789676d..99e8817 100644 --- a/widget/calendar.lua +++ b/widget/calendar.lua @@ -67,7 +67,7 @@ function calendar.show(t_out, inc_offset, scr) local widget_focused = true - if t_out == 0 then + if t_out == 0 and mouse.current_widgets then widget_focused = false for i, widget in ipairs(calendar.attach_to) do for _,v in ipairs(mouse.current_widgets) do diff --git a/wiki b/wiki index bbf5c5b..2257b0a 160000 --- a/wiki +++ b/wiki @@ -1 +1 @@ -Subproject commit bbf5c5b15c676aa5b44caff56593bdffc4f8eca2 +Subproject commit 2257b0a452c6dbcc3ec16b4e85e47c1779f05f16