aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-10-24 15:45:02 +0200
committerLibravatar GitHub <noreply@github.com>2018-10-24 15:45:02 +0200
commit2fa767ab57c75aa21636fd88ccf6d6539c52d310 (patch)
treec9b791fb06317666bdfdfc610b4e11b85768b2c3
parentMerge pull request #2961 from RyanDwyer/swaylock-multiseat (diff)
parentRebase the cursor after focusing in a direction (diff)
downloadsway-2fa767ab57c75aa21636fd88ccf6d6539c52d310.tar.gz
sway-2fa767ab57c75aa21636fd88ccf6d6539c52d310.tar.zst
sway-2fa767ab57c75aa21636fd88ccf6d6539c52d310.zip
Merge pull request #2954 from RyanDwyer/cursor-rebase-after-focus-direction
Rebase the cursor after focusing in a direction
-rw-r--r--sway/commands/focus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/commands/focus.c b/sway/commands/focus.c
index 7dfa8814..81af8e0f 100644
--- a/sway/commands/focus.c
+++ b/sway/commands/focus.c
@@ -294,6 +294,7 @@ struct cmd_results *cmd_focus(int argc, char **argv) {
294 if (next_focus) { 294 if (next_focus) {
295 seat_set_focus(seat, next_focus); 295 seat_set_focus(seat, next_focus);
296 seat_consider_warp_to_focus(seat); 296 seat_consider_warp_to_focus(seat);
297 cursor_rebase(seat->cursor);
297 } 298 }
298 299
299 return cmd_results_new(CMD_SUCCESS, NULL, NULL); 300 return cmd_results_new(CMD_SUCCESS, NULL, NULL);