awful.mouse.finder: Remove rounded_corners call
Let's just quote a mail I received from Rastislav Barlik:
I tried to make use of awful.mouse.finder but I found out that it's not working
as supporting functions rounded_corners were removed with commit
03e0ee53d2
.
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
6afb5f28a2
commit
2e286a45d8
|
@ -67,7 +67,8 @@ local function animate(self)
|
||||||
data[self].wibox:geometry({width = r + data[self].factor,
|
data[self].wibox:geometry({width = r + data[self].factor,
|
||||||
height = r + data[self].factor })
|
height = r + data[self].factor })
|
||||||
-- need -1 to the radius to draw a full circle
|
-- need -1 to the radius to draw a full circle
|
||||||
a_wibox.rounded_corners(data[self].wibox, (r + data[self].factor)/2 -1)
|
-- FIXME: The rounded_corners() API was removed
|
||||||
|
-- a_wibox.rounded_corners(data[self].wibox, (r + data[self].factor)/2 -1)
|
||||||
-- make sure the mouse finder follows the pointer. Uh!
|
-- make sure the mouse finder follows the pointer. Uh!
|
||||||
place(self)
|
place(self)
|
||||||
end
|
end
|
||||||
|
@ -80,7 +81,8 @@ local function show(self)
|
||||||
if data[self].wibox.visible then return end
|
if data[self].wibox.visible then return end
|
||||||
if not data[self].timer.started then
|
if not data[self].timer.started then
|
||||||
data[self].wibox:geometry({width = data[self].radius, height = data[self].radius })
|
data[self].wibox:geometry({width = data[self].radius, height = data[self].radius })
|
||||||
a_wibox.rounded_corners(data[self].wibox, data[self].radius/2 -1)
|
-- FIXME: The rounded_corners() API was removed
|
||||||
|
-- a_wibox.rounded_corners(data[self].wibox, data[self].radius/2 -1)
|
||||||
data[self].timer:start()
|
data[self].timer:start()
|
||||||
data[self].animate_timer:start()
|
data[self].animate_timer:start()
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue