From: Sébastien Gross <seb•ɱɩɲʋʃ•awesome•ɑƬ•chezwam•ɖɵʈ•org>

Signed-off-by: Sébastien Gross <seb•ɱɩɲʋʃ•awesome•ɑƬ•chezwam•ɖɵʈ•org>
---
 lib/awful/tooltip.lua.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/awful/tooltip.lua.in b/lib/awful/tooltip.lua.in
index a1b03e2..1c30975 100644
--- a/lib/awful/tooltip.lua.in
+++ b/lib/awful/tooltip.lua.in
@@ -89,10 +89,10 @@ end
 local function show(self)
     -- do nothing if the tooltip is already shown
     if self.visible then return end
+    -- make sure the tooltip is on the same screen as the mouse
+    self.wibox.screen = mouse.screen
     if data[self].timer then
         if not data[self].timer.started then
-            -- make sure the tooltip is on the same screen as the mouse
-            self.wibox.screen = mouse.screen
             data[self].timer_function()
             data[self].timer:start()
         end
-- 
1.5.6.5


-- 
To unsubscribe, send mail to [email protected].

Reply via email to