screen: Do not use the deprecated geometry access

This commit is contained in:
Emmanuel Lepage Vallee 2016-09-11 02:06:09 -04:00
parent f1e61092cd
commit 8c2d85523f
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ function screen.focus_bydirection(dir, _screen)
if sel then
local geomtbl = {}
for s in capi.screen do
geomtbl[s] = capi.screen[s].geometry
geomtbl[s] = s.geometry
end
local target = grect.get_in_direction(dir, geomtbl, sel.geometry)
if target then