menubar: Do not use the deprecated geometry access
This commit is contained in:
parent
e86ddaab56
commit
4d0c426040
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue