From 2e286a45d876ea7fc26d0464d6e51c29ac86d332 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Sat, 10 Jan 2015 20:28:26 +0100 Subject: [PATCH] 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 03e0ee53d2b1f2e7bac40255758dfd2a99c5ab6a. Signed-off-by: Uli Schlachter --- lib/awful/mouse/finder.lua.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/awful/mouse/finder.lua.in b/lib/awful/mouse/finder.lua.in index 342c4852..d6cce909 100644 --- a/lib/awful/mouse/finder.lua.in +++ b/lib/awful/mouse/finder.lua.in @@ -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