Merge pull request #217 from autumnlansing/master

Fixed notification screen bug in task widget
This commit is contained in:
Luke Bonham 2016-07-29 12:38:14 +02:00 committed by GitHub
commit d747e16910

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)