tooltip: Pass the parent object to awful.placement, not the position.

By passing the geometry, important information used by
awful.placement.next_to were "lost". Given `next_to` supports both
widget position, the mouse and client/wibox relative positioning, it
has to know the object type.
This commit is contained in:
Emmanuel Lepage Vallee 2018-12-21 21:32:19 -05:00
parent 68bfde45e1
commit 2b52926b48
1 changed files with 1 additions and 1 deletions

View File

@ -532,7 +532,7 @@ function tooltip.new(args)
function self.show(other, geo)
-- Auto detect clients and wiboxes
if other.drawable or other.pid then
geo = other:geometry()
geo = other
end
-- Cache the geometry in case it is needed later