diff --git a/lib/awful/mouse/drag_to_tag.lua b/lib/awful/mouse/drag_to_tag.lua index ee4cb895..0c5a24d1 100644 --- a/lib/awful/mouse/drag_to_tag.lua +++ b/lib/awful/mouse/drag_to_tag.lua @@ -22,7 +22,7 @@ function module.drag_to_tag(c) local dir = nil - local wa = capi.screen[c.screen].workarea + local wa = c.screen.workarea if coords.x >= wa.x + wa.width - 1 then capi.mouse.coords({ x = wa.x + 2 }, true)