From 742cbd712273f51a48e7d239567f5b31306e0295 Mon Sep 17 00:00:00 2001 From: ShadowKyogre Date: Sat, 5 Dec 2015 17:26:15 -0800 Subject: [PATCH] Call :set_bg for the mouse finder's wibox Before this, it was trying to assign it to `.bg`, which isn't how backgrounds are stored on wiboxes. Closes https://github.com/awesomeWM/awesome/pull/587. --- lib/awful/mouse/finder.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/awful/mouse/finder.lua b/lib/awful/mouse/finder.lua index acc784af..86e5b34b 100644 --- a/lib/awful/mouse/finder.lua +++ b/lib/awful/mouse/finder.lua @@ -121,7 +121,7 @@ end local function set_defaults(self) data[self].wibox.border_width = 0 data[self].wibox.opacity = beautiful.mouse_finder_opacity or 1 - data[self].wibox.bg = beautiful.mouse_finder_color or beautiful.bg_focus or "#ff0000" + data[self].wibox:set_bg(beautiful.mouse_finder_color or beautiful.bg_focus or "#ff0000") data[self].timeout = beautiful.mouse_finder_timeout or 3 data[self].animate_timeout = beautiful.mouse_finder_animate_timeout or 0.05 data[self].radius = beautiful.mouse_finder_radius or 20