From e6f3e74e0c087d10d5b20448b3554cdb8b1f9fce Mon Sep 17 00:00:00 2001 From: luke bonham Date: Wed, 29 Jul 2015 17:35:35 +0200 Subject: [PATCH 1/1] #126 calendar: local scrp fix --- widgets/calendar.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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({ -- 2.39.5