Fixed notification screen bug in task widget

This commit is contained in:
Autumn Lansing 2016-07-28 16:13:35 -05:00
parent 98d3ab9083
commit a366df30e0
1 changed files with 3 additions and 3 deletions

View File

@ -40,12 +40,12 @@ end
function task:show(scr_pos) function task:show(scr_pos)
task:hide() task:hide()
local f, c_text local f, c_text, scrp
if task.followmouse then if task.followmouse then
local scrp = mouse.screen scrp = mouse.screen
else else
local scrp = scr_pos or task.scr_pos scrp = scr_pos or task.scr_pos
end end
f = io.popen('task ' .. task.cmdline) f = io.popen('task ' .. task.cmdline)