From 8d2dde3a346f84f19b55a2bfbafe1bdd7fa68ff9 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Fri, 23 Sep 2016 09:56:45 +0200 Subject: [PATCH] wibox: Remove some dead code widget_at() no longer exists since 0aa4304bda (and the surrounding commits stopped us using this function). Signed-off-by: Uli Schlachter --- lib/wibox/drawable.lua | 3 --- lib/wibox/init.lua | 3 --- 2 files changed, 6 deletions(-) diff --git a/lib/wibox/drawable.lua b/lib/wibox/drawable.lua index 0212efae9..ad349368a 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 7d3735781..a078534e9 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)