X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/52deb6911957f840a0191f73c8a9626bd9ff5086..75c3b81654b5159dbad6123e51838d8c3a34e3bd:/widgets/calendar.lua?ds=inline 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({