From a0d47f8ea5df7a6dbf16dfe092181a300c32c7db Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Sun, 17 Apr 2016 15:46:14 +0200 Subject: [PATCH] awful.wibox: Fix some minor things capi.awesome is unused and capi.screen is unused, but really should be used. Signed-off-by: Uli Schlachter --- lib/awful/wibox.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/awful/wibox.lua b/lib/awful/wibox.lua index ee9440488..e98a65fbb 100644 --- a/lib/awful/wibox.lua +++ b/lib/awful/wibox.lua @@ -12,7 +12,6 @@ -- Grab environment we need local capi = { - awesome = awesome, screen = screen, client = client } @@ -26,7 +25,7 @@ local beautiful = require("beautiful") local round = require("awful.util").round local function get_screen(s) - return s and screen[s] + return s and capi.screen[s] end local awfulwibox = { mt = {} }