mirror of https://github.com/lcpz/lain.git
#126 calendar: local scrp fix
This commit is contained in:
parent
e418d9fb86
commit
e6f3e74e0c
|
@ -91,9 +91,9 @@ function calendar:show(t_out, inc_offset, scr)
|
||||||
f:close()
|
f:close()
|
||||||
|
|
||||||
if calendar.followmouse then
|
if calendar.followmouse then
|
||||||
local scrp = mouse.screen
|
scrp = mouse.screen
|
||||||
else
|
else
|
||||||
local scrp = scr or calendar.scr_pos
|
scrp = scr or calendar.scr_pos
|
||||||
end
|
end
|
||||||
|
|
||||||
cal_notification = naughty.notify({
|
cal_notification = naughty.notify({
|
||||||
|
|
Loading…
Reference in New Issue