mirror of
https://github.com/swaywm/sway.git
synced 2026-04-19 06:46:40 -04:00
Consider cursor warp when switching workspaces
Fixes a regression introduced in
24a90e5d86.
consider_warp_to_focus has been renamed to seat_consider_warp_to_focus,
moved to seat.c and made public. It is now called when switching
workspaces via `workspace <ws>`.
This commit is contained in:
parent
30dbb8eba0
commit
a2fdac2c4b
4 changed files with 27 additions and 24 deletions
|
|
@ -157,6 +157,7 @@ struct cmd_results *cmd_workspace(int argc, char **argv) {
|
|||
free(name);
|
||||
}
|
||||
workspace_switch(ws, no_auto_back_and_forth);
|
||||
seat_consider_warp_to_focus(config->handler_context.seat);
|
||||
}
|
||||
return cmd_results_new(CMD_SUCCESS, NULL, NULL);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue