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:
parent
9b44e9a011
commit
a0d47f8ea5
|
@ -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 = {} }
|
||||
|
|
Loading…
Reference in New Issue