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
87230862d5
commit
53b0f946d8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue