From: luke bonham Date: Wed, 29 Jul 2015 15:35:35 +0000 (+0200) Subject: #126 calendar: local scrp fix X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/e6f3e74e0c087d10d5b20448b3554cdb8b1f9fce?ds=sidebyside #126 calendar: local scrp fix --- diff --git a/widgets/calendar.lua b/widgets/calendar.lua index 2ed26a0..7e52308 100644 --- a/widgets/calendar.lua +++ b/widgets/calendar.lua @@ -91,9 +91,9 @@ function calendar:show(t_out, inc_offset, scr) f:close() if calendar.followmouse then - local scrp = mouse.screen + scrp = mouse.screen else - local scrp = scr or calendar.scr_pos + scrp = scr or calendar.scr_pos end cal_notification = naughty.notify({