diff --git a/sway/commands/focus.c b/sway/commands/focus.c index 7dfa88149..81af8e0f4 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);