mouse/drag_to_tag: Do not use the deprecated geometry access
This commit is contained in:
parent
e89a72acd5
commit
98b561e806
|
@ -22,7 +22,7 @@ function module.drag_to_tag(c)
|
||||||
|
|
||||||
local dir = nil
|
local dir = nil
|
||||||
|
|
||||||
local wa = capi.screen[c.screen].workarea
|
local wa = c.screen.workarea
|
||||||
|
|
||||||
if coords.x >= wa.x + wa.width - 1 then
|
if coords.x >= wa.x + wa.width - 1 then
|
||||||
capi.mouse.coords({ x = wa.x + 2 }, true)
|
capi.mouse.coords({ x = wa.x + 2 }, true)
|
||||||
|
|
Loading…
Reference in New Issue