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:
Uli Schlachter 2015-01-10 20:28:26 +01:00
parent 6afb5f28a2
commit 2e286a45d8
1 changed files with 4 additions and 2 deletions

View File

@ -67,7 +67,8 @@ local function animate(self)
data[self].wibox:geometry({width = r + data[self].factor,
height = r + data[self].factor })
-- 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!
place(self)
end
@ -80,7 +81,8 @@ local function show(self)
if data[self].wibox.visible then return end
if not data[self].timer.started then
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].animate_timer:start()
end