diff --git a/lib/wibox/drawable.lua b/lib/wibox/drawable.lua index 0212efae..ad349368 100644 --- a/lib/wibox/drawable.lua +++ b/lib/wibox/drawable.lua @@ -46,9 +46,6 @@ local function get_widget_context(self) screen = s, dpi = dpi, drawable = self, - widget_at = function(_, ...) - self:widget_at(...) - end } for k, v in pairs(self._widget_context_skeleton) do context[k] = v diff --git a/lib/wibox/init.lua b/lib/wibox/init.lua index 7d373578..a078534e 100644 --- a/lib/wibox/init.lua +++ b/lib/wibox/init.lua @@ -177,9 +177,6 @@ local function new(args) setup_signals(ret) ret.draw = ret._drawable.draw - ret.widget_at = function(_, widget, x, y, width, height) - return ret._drawable:widget_at(widget, x, y, width, height) - end -- Set the default background ret:set_bg(args.bg or beautiful.bg_normal)