commit ca695482ec43fa247fc565161768584ef9534fea
parent 81e4bbf8b26a836b5f0fe83687658e854ca6a11e
Author: Drew DeVault <sir@cmpwn.com>
Date: Tue, 17 Jul 2018 19:53:12 -0700
Merge pull request #2292 from emersion/update-cursor-on-focus
Update cursor on focus change
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sway/input/seat.c b/sway/input/seat.c
@@ -738,7 +738,7 @@ void seat_set_focus_warp(struct sway_seat *seat,
}
}
- if (last_workspace && last_workspace != new_workspace) {
+ if (last_focus != NULL) {
cursor_send_pointer_motion(seat->cursor, 0, true);
}