From a366df30e00945b779e5ee4943de3992e07b430f Mon Sep 17 00:00:00 2001 From: Autumn Lansing Date: Thu, 28 Jul 2016 16:13:35 -0500 Subject: [PATCH] Fixed notification screen bug in task widget --- widgets/contrib/task.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/widgets/contrib/task.lua b/widgets/contrib/task.lua index 98817f9..27061b9 100644 --- a/widgets/contrib/task.lua +++ b/widgets/contrib/task.lua @@ -40,12 +40,12 @@ end function task:show(scr_pos) task:hide() - local f, c_text + local f, c_text, scrp if task.followmouse then - local scrp = mouse.screen + scrp = mouse.screen else - local scrp = scr_pos or task.scr_pos + scrp = scr_pos or task.scr_pos end f = io.popen('task ' .. task.cmdline) -- 2.39.5