aboutsummaryrefslogtreecommitdiff
path: root/sway/desktop
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-08-19 22:06:09 -0400
committerGitHub <noreply@github.com>2018-08-19 22:06:09 -0400
commit08a69f267a96a5b0591222ef1d0f40208e46d484 (patch)
tree0330d86cbbed09e7a408b3f7cc54a2280217bba9 /sway/desktop
parentfdcf9275b1259deda94723853a60cbaa9cbb522a (diff)
parente1955c5c08d4131fd5d3e2a91ec8af05c3117eca (diff)
Merge pull request #2483 from RyanDwyer/floating-emit-reparent
Send enter/leave events for floating views
Diffstat (limited to 'sway/desktop')
-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);
+ }
}
}