summaryrefslogtreecommitdiff
path: root/workspace.lua
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-02-25 17:49:13 +0100
committerAnton Khirnov <anton@khirnov.net>2021-02-25 17:49:21 +0100
commitdd00d675da87040fe6660fc07c86817b2fa50d51 (patch)
tree60601798c0e0e97d5a39f945cd159aabeba68138 /workspace.lua
parente522245f1e2e77fb15b82fe1a0c1a6505be65aea (diff)
workspace: add a fixme comment
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