From 4d0c426040cb3d21625579636cae4a8145a029cc Mon Sep 17 00:00:00 2001 From: Emmanuel Lepage Vallee Date: Sun, 11 Sep 2016 01:49:57 -0400 Subject: [PATCH] menubar: Do not use the deprecated geometry access --- lib/menubar/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/menubar/init.lua b/lib/menubar/init.lua index 286496d83..c85b982e4 100644 --- a/lib/menubar/init.lua +++ b/lib/menubar/init.lua @@ -415,7 +415,7 @@ function menubar.show(scr) -- Set position and size scr = scr or awful.screen.focused() or 1 scr = get_screen(scr) - local scrgeom = capi.screen[scr].workarea + local scrgeom = scr.workarea local geometry = menubar.geometry instance.geometry = {x = geometry.x or scrgeom.x, y = geometry.y or scrgeom.y,