From 2b52926b4882c6499485843e882d8f8f7b19cdda Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Fri, 21 Dec 2018 21:32:19 -0500 Subject: [PATCH] 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. --- lib/awful/tooltip.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/awful/tooltip.lua b/lib/awful/tooltip.lua index af5ae373..dbab6d3f 100644 --- a/lib/awful/tooltip.lua +++ b/lib/awful/tooltip.lua @@ -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