diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-10-24 15:45:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-24 15:45:02 +0200 |
commit | 2fa767ab57c75aa21636fd88ccf6d6539c52d310 (patch) | |
tree | c9b791fb06317666bdfdfc610b4e11b85768b2c3 | |
parent | Merge pull request #2961 from RyanDwyer/swaylock-multiseat (diff) | |
parent | Rebase the cursor after focusing in a direction (diff) | |
download | sway-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.c | 1 |
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); |