menubar: Do not use the deprecated geometry access

This commit is contained in:
Emmanuel Lepage Vallee 2016-09-11 01:49:57 -04:00
parent e86ddaab56
commit 4d0c426040
1 changed files with 1 additions and 1 deletions

View File

@ -415,7 +415,7 @@ function menubar.show(scr)
-- Set position and size -- Set position and size
scr = scr or awful.screen.focused() or 1 scr = scr or awful.screen.focused() or 1
scr = get_screen(scr) scr = get_screen(scr)
local scrgeom = capi.screen[scr].workarea local scrgeom = scr.workarea
local geometry = menubar.geometry local geometry = menubar.geometry
instance.geometry = {x = geometry.x or scrgeom.x, instance.geometry = {x = geometry.x or scrgeom.x,
y = geometry.y or scrgeom.y, y = geometry.y or scrgeom.y,