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

Commit 6c5d0ca9 introduced a side effect. If tooltip text isn't changed
place() function is not called. To prevent multiple place() set_geometry
calls that function when tooltip is not visible (before it appears to the
user).

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

diff --git a/lib/awful/tooltip.lua.in b/lib/awful/tooltip.lua.in
index 4486619..f282804 100644
--- a/lib/awful/tooltip.lua.in
+++ b/lib/awful/tooltip.lua.in
@@ -82,6 +82,9 @@ local function set_geometry(self)
         self.wibox:geometry(n_s)
         place(self)
     end
+    if not self.wibox.visible then
+       place(self)
+    end
 end
 
 -- Show a tooltip.
-- 
1.5.6.5


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

Reply via email to