mirror of https://github.com/lcpz/lain.git
Merge pull request #217 from autumnlansing/master
Fixed notification screen bug in task widget
This commit is contained in:
commit
d747e16910
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue