Fix luacheck warnings in wibox.drawable
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
0907411997
commit
40c653c4b6
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue