From: Luke Bonham Date: Fri, 29 Jul 2016 10:38:14 +0000 (+0200) Subject: Merge pull request #217 from autumnlansing/master X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/d747e16910e14738db273274aca61e7d1a859b47?hp=98d3ab90837d9200bdfba66013698fbc41072371 Merge pull request #217 from autumnlansing/master Fixed notification screen bug in task widget --- 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)