1
1
mirror of https://github.com/swaywm/sway synced 2024-09-30 21:31:55 +02:00

Merge pull request #2954 from RyanDwyer/cursor-rebase-after-focus-direction

Rebase the cursor after focusing in a direction
This commit is contained in:
Drew DeVault 2018-10-24 15:45:02 +02:00 committed by GitHub
commit 2fa767ab57
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

@ -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);