awful.tooltip: call set_geometry on show()

Function set_geometry was never called if the timer_function argument
was omitted. show function only called place() which would not display
a tooltip since it didn't have proper geometry.

Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Adrian C. (anrxc) 2009-11-07 20:09:39 +01:00 committed by Julien Danjou
parent 240a83d215
commit 6c5d0ca90c
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ local function show(self)
data[self].timer:start() data[self].timer:start()
end end
end end
place(self) set_geometry(self)
self.wibox.visible = true self.wibox.visible = true
self.visible = true self.visible = true
end end