From 40c653c4b68102094164ded5ed4ba76b087876cc Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Sun, 25 Dec 2016 13:05:26 +0100 Subject: [PATCH] Fix luacheck warnings in wibox.drawable Signed-off-by: Uli Schlachter --- lib/wibox/drawable.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/wibox/drawable.lua b/lib/wibox/drawable.lua index af8165f5..330edc31 100644 --- a/lib/wibox/drawable.lua +++ b/lib/wibox/drawable.lua @@ -34,8 +34,8 @@ local function get_widget_context(self) if not s then local sgeos = {} - for s in capi.screen do - sgeos[s] = s.geometry + for scr in capi.screen do + sgeos[scr] = scr.geometry end s = grect.get_by_coord(sgeos, geom.x, geom.y) or capi.screen.primary