do not set non existent, screen property on wiboxes
The `screen` property on wibox (drawin) was removed in the commit - 'drawin: Remove screen property'. Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com> Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
eb38654cae
commit
9793ec0b71
|
@ -77,8 +77,6 @@ local function show(self)
|
|||
-- do nothing if the mouse finder is already shown
|
||||
if data[self].wibox.visible then return end
|
||||
if not data[self].timer.started then
|
||||
-- make sure the mouse finder is on the same screen as the mouse
|
||||
data[self].wibox.screen = mouse.screen
|
||||
data[self].wibox:geometry({width = data[self].radius, height = data[self].radius })
|
||||
a_wibox.rounded_corners(data[self].wibox, data[self].radius/2 -1)
|
||||
data[self].timer:start()
|
||||
|
|
|
@ -92,8 +92,6 @@ end
|
|||
local function show(self)
|
||||
-- do nothing if the tooltip is already shown
|
||||
if self.visible then return end
|
||||
-- make sure the tooltip is on the same screen as the mouse
|
||||
self.wibox.screen = mouse.screen
|
||||
if data[self].timer then
|
||||
if not data[self].timer.started then
|
||||
data[self].timer_function()
|
||||
|
|
Loading…
Reference in New Issue