mirror of
https://github.com/swaywm/sway.git
synced 2024-12-29 16:36:26 +01:00
Merge pull request #3010 from Emantor/fix/cursor_warping_view_map
input-manager: consider cursor warping on input_manager_set_focus
This commit is contained in:
commit
aa21d1b867
1 changed files with 1 additions and 0 deletions
|
@ -431,6 +431,7 @@ void input_manager_set_focus(struct sway_node *node) {
|
|||
struct sway_seat *seat;
|
||||
wl_list_for_each(seat, &server.input->seats, link) {
|
||||
seat_set_focus(seat, node);
|
||||
seat_consider_warp_to_focus(seat);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue