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 <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2016-04-17 15:46:14 +02:00 committed by Uli Schlachter
parent 9b44e9a011
commit a0d47f8ea5
1 changed files with 1 additions and 2 deletions

View File

@ -12,7 +12,6 @@
-- Grab environment we need -- Grab environment we need
local capi = local capi =
{ {
awesome = awesome,
screen = screen, screen = screen,
client = client client = client
} }
@ -26,7 +25,7 @@ local beautiful = require("beautiful")
local round = require("awful.util").round local round = require("awful.util").round
local function get_screen(s) local function get_screen(s)
return s and screen[s] return s and capi.screen[s]
end end
local awfulwibox = { mt = {} } local awfulwibox = { mt = {} }