summaryrefslogtreecommitdiffstats
path: root/sway/tree/workspace.c
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-10-20 05:06:03 +0200
committerLibravatar GitHub <noreply@github.com>2018-10-20 05:06:03 +0200
commit5b8257b88f703f48466f3b917f1ceaee7c457355 (patch)
treef0d00406e3cb449c2492d6cb8b35a1a57546eebd /sway/tree/workspace.c
parentMerge pull request #2885 from RyanDwyer/fix-tiling-drag-crash (diff)
parentIntroduce cursor_rebase (diff)
downloadsway-5b8257b88f703f48466f3b917f1ceaee7c457355.tar.gz
sway-5b8257b88f703f48466f3b917f1ceaee7c457355.tar.zst
sway-5b8257b88f703f48466f3b917f1ceaee7c457355.zip
Merge pull request #2872 from RyanDwyer/cursor-rebase
Introduce cursor_rebase
Diffstat (limited to 'sway/tree/workspace.c')
-rw-r--r--sway/tree/workspace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/workspace.c b/sway/tree/workspace.c
index a1282c1e..2a00824d 100644
--- a/sway/tree/workspace.c
+++ b/sway/tree/workspace.c
@@ -399,7 +399,7 @@ bool workspace_switch(struct sway_workspace *workspace,
399 } 399 }
400 seat_set_focus(seat, next); 400 seat_set_focus(seat, next);
401 arrange_workspace(workspace); 401 arrange_workspace(workspace);
402 cursor_send_pointer_motion(seat->cursor, 0, true); 402 cursor_rebase(seat->cursor);
403 return true; 403 return true;
404} 404}
405 405