summaryrefslogtreecommitdiff
path: root/weather-widget
diff options
context:
space:
mode:
authorstreetturtle <streetturtle@users.noreply.github.com>2020-04-15 13:04:07 -0400
committerGitHub <noreply@github.com>2020-04-15 13:04:07 -0400
commit1b32ea3150fda5d3f955ee1c97c9c565c6620506 (patch)
tree92038c2135f9b231d5efec88352f0923a5b4e4d0 /weather-widget
parent34598dca85565bf3b051a9f14d9b945c087f6fd1 (diff)
parent92e411da972fe8a2ab0297c01e96ab76d72e498e (diff)
Merge pull request #130 from utix/master
Display the notification on the current screen
Diffstat (limited to 'weather-widget')
-rw-r--r--weather-widget/weather.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/weather-widget/weather.lua b/weather-widget/weather.lua
index 6fafa97..5aaf426 100644
--- a/weather-widget/weather.lua
+++ b/weather-widget/weather.lua
@@ -210,6 +210,7 @@ local function worker(args)
'<b>Wind:</b> ' .. resp.wind.speed .. 'm/s (' .. to_direction(resp.wind.deg) .. ')',
timeout = 5, hover_timeout = 10,
position = position,
+ screen = mouse.screen,
width = (both_units_popup == true and 210 or 200)
}
end)