aboutsummaryrefslogtreecommitdiff
path: root/sway/input/input-manager.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-10-28 12:40:26 +0100
committerGitHub <noreply@github.com>2018-10-28 12:40:26 +0100
commitaa21d1b86719d76f8236aa7407f75b95f3922ad2 (patch)
tree355f04b2ebfa713bce7ebc2545b992decc14a6e8 /sway/input/input-manager.c
parent5ea81e6f7ea78c7dc1becb1615b5fe8755b815f9 (diff)
parent6f87d0c2cf1c712356e1132e9cb347d40263f09c (diff)
Merge pull request #3010 from Emantor/fix/cursor_warping_view_map
input-manager: consider cursor warping on input_manager_set_focus
Diffstat (limited to 'sway/input/input-manager.c')
-rw-r--r--sway/input/input-manager.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/input/input-manager.c b/sway/input/input-manager.c
index 91c45dd1..68445d68 100644
--- a/sway/input/input-manager.c
+++ b/sway/input/input-manager.c
@@ -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);
}
}