aboutsummaryrefslogtreecommitdiff
path: root/sway/desktop/transaction.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/desktop/transaction.c')
-rw-r--r--sway/desktop/transaction.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/desktop/transaction.c b/sway/desktop/transaction.c
index 3b626cb7..f82e5ef2 100644
--- a/sway/desktop/transaction.c
+++ b/sway/desktop/transaction.c
@@ -195,6 +195,9 @@ static void transaction_apply(struct sway_transaction *transaction) {
}
container->instruction = NULL;
+ if (container->type == C_CONTAINER || container->type == C_VIEW) {
+ container_discover_outputs(container);
+ }
}
}