summaryrefslogtreecommitdiff
path: root/workspace.lua
diff options
context:
space:
mode:
Diffstat (limited to 'workspace.lua')
-rw-r--r--workspace.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/workspace.lua b/workspace.lua
index 395b135..15201dd 100644
--- a/workspace.lua
+++ b/workspace.lua
@@ -157,6 +157,8 @@ function Workspace:move_client(client, desk, page)
end
function Workspace:client_move_relative(client, offset)
+ -- FIXME this is wrong, mouse screen is not necessarily
+ -- where the client is
local state = self.screen_state[mouse.screen]
if state then
local desk = state.desktop_idx