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 /sway/commands | |
parent | f2082a3d4c80e96c1e8c75bf8ca442786efb2153 (diff) | |
parent | 3c7fd145d5223b06c05660d05f51b91dc41c81cf (diff) |
Merge pull request #2954 from RyanDwyer/cursor-rebase-after-focus-direction
Rebase the cursor after focusing in a direction
Diffstat (limited to 'sway/commands')
-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) { if (next_focus) { seat_set_focus(seat, next_focus); seat_consider_warp_to_focus(seat); + cursor_rebase(seat->cursor); } return cmd_results_new(CMD_SUCCESS, NULL, NULL); |