From dc432eb7a653b41478941e883186071a7cf160b1 Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Thu, 21 Jan 2016 22:48:26 -0500 Subject: [PATCH] widget.background: Fix error introduced in d01c1d2d6 Fix a copy/paste mistake. --- lib/wibox/widget/background.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/wibox/widget/background.lua b/lib/wibox/widget/background.lua index 101311618..333c1c6e9 100644 --- a/lib/wibox/widget/background.lua +++ b/lib/wibox/widget/background.lua @@ -93,8 +93,8 @@ end -- @param shape A function taking a context, width and height as arguments -- Any other arguments will be passed to the shape function function background:set_shape(shape, ...) - ret._shape = shape - ret._shape_args = {...} + self._shape = shape + self._shape_args = {...} self:emit_signal("widget::redraw_needed") end