Fix luacheck warnings in wibox.drawable

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2016-12-25 13:05:26 +01:00
parent 0907411997
commit 40c653c4b6
1 changed files with 2 additions and 2 deletions

View File

@ -34,8 +34,8 @@ local function get_widget_context(self)
if not s then if not s then
local sgeos = {} local sgeos = {}
for s in capi.screen do for scr in capi.screen do
sgeos[s] = s.geometry sgeos[scr] = scr.geometry
end end
s = grect.get_by_coord(sgeos, geom.x, geom.y) or capi.screen.primary s = grect.get_by_coord(sgeos, geom.x, geom.y) or capi.screen.primary