diff options
Diffstat (limited to 'sway/desktop/transaction.c')
-rw-r--r-- | sway/desktop/transaction.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/transaction.c b/sway/desktop/transaction.c index 862ffee8..fdf24bd3 100644 --- a/sway/desktop/transaction.c +++ b/sway/desktop/transaction.c @@ -126,7 +126,7 @@ static void copy_pending_state(struct sway_container *container, // Set focused_inactive_child to the direct tiling child struct sway_container *focus = seat_get_focus_inactive_tiling(seat, container); - if (focus && focus->type == C_CONTAINER) { + if (focus && focus->type > C_WORKSPACE) { while (focus->parent->type != C_WORKSPACE) { focus = focus->parent; } |