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:
Drew DeVault 2018-10-28 12:40:26 +01:00 committed by GitHub
commit aa21d1b867
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -431,6 +431,7 @@ void input_manager_set_focus(struct sway_node *node) {
struct sway_seat *seat; struct sway_seat *seat;
wl_list_for_each(seat, &server.input->seats, link) { wl_list_for_each(seat, &server.input->seats, link) {
seat_set_focus(seat, node); seat_set_focus(seat, node);
seat_consider_warp_to_focus(seat);
} }
} }