tooltip: use new next_to_mouse placement
This should take care of not placing the tooltip outside of the screen already, so the call to `awful.placement.no_offscreen` can be skipped.
This commit is contained in:
parent
9803af1b1f
commit
251673f8b2
|
@ -73,8 +73,7 @@ local data = setmetatable({}, { __mode = 'k' })
|
|||
-- Place the tooltip on the screen.
|
||||
-- @tparam tooltip self A tooltip object.
|
||||
local function place(self)
|
||||
a_placement.under_mouse(self.wibox)
|
||||
a_placement.no_offscreen(self.wibox)
|
||||
a_placement.next_to_mouse(self.wibox)
|
||||
end
|
||||
|
||||
-- Place the tooltip under the mouse.
|
||||
|
|
Loading…
Reference in New Issue