screen: Do not use the deprecated geometry access
This commit is contained in:
parent
f1e61092cd
commit
8c2d85523f
|
@ -135,7 +135,7 @@ function screen.focus_bydirection(dir, _screen)
|
||||||
if sel then
|
if sel then
|
||||||
local geomtbl = {}
|
local geomtbl = {}
|
||||||
for s in capi.screen do
|
for s in capi.screen do
|
||||||
geomtbl[s] = capi.screen[s].geometry
|
geomtbl[s] = s.geometry
|
||||||
end
|
end
|
||||||
local target = grect.get_in_direction(dir, geomtbl, sel.geometry)
|
local target = grect.get_in_direction(dir, geomtbl, sel.geometry)
|
||||||
if target then
|
if target then
|
||||||
|
|
Loading…
Reference in New Issue