diff options
Diffstat (limited to 'sway/input/seat.c')
-rw-r--r-- | sway/input/seat.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sway/input/seat.c b/sway/input/seat.c index e178c08a..24d7e903 100644 --- a/sway/input/seat.c +++ b/sway/input/seat.c | |||
@@ -1477,13 +1477,10 @@ void seat_consider_warp_to_focus(struct sway_seat *seat) { | |||
1477 | } | 1477 | } |
1478 | 1478 | ||
1479 | if (focus->type == N_CONTAINER) { | 1479 | if (focus->type == N_CONTAINER) { |
1480 | cursor_warp_to_container(seat->cursor, focus->sway_container); | 1480 | cursor_warp_to_container(seat->cursor, focus->sway_container, false); |
1481 | } else { | 1481 | } else { |
1482 | cursor_warp_to_workspace(seat->cursor, focus->sway_workspace); | 1482 | cursor_warp_to_workspace(seat->cursor, focus->sway_workspace); |
1483 | } | 1483 | } |
1484 | if (seat->cursor->hidden){ | ||
1485 | cursor_unhide(seat->cursor); | ||
1486 | } | ||
1487 | } | 1484 | } |
1488 | 1485 | ||
1489 | void seatop_unref(struct sway_seat *seat, struct sway_container *con) { | 1486 | void seatop_unref(struct sway_seat *seat, struct sway_container *con) { |