From f7bbcf126387878774a6021faedac673b5694d36 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Sun, 15 Nov 2015 19:36:15 +0100 Subject: [PATCH] wibox.drawable: Make screen_getbycoord() local Signed-off-by: Uli Schlachter --- lib/wibox/drawable.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wibox/drawable.lua b/lib/wibox/drawable.lua index c9aeda0a..80f6728c 100644 --- a/lib/wibox/drawable.lua +++ b/lib/wibox/drawable.lua @@ -28,7 +28,7 @@ local wallpaper = nil -- This is awful.screen.getbycoord() which we sadly cannot use from here (cyclic -- dependencies are bad!) -function screen_getbycoord(x, y) +local function screen_getbycoord(x, y) for i = 1, screen:count() do local geometry = screen[i].geometry if x >= geometry.x and x < geometry.x + geometry.width