diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-08-19 22:06:09 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-19 22:06:09 -0400 |
commit | 08a69f267a96a5b0591222ef1d0f40208e46d484 (patch) | |
tree | 0330d86cbbed09e7a408b3f7cc54a2280217bba9 /sway/desktop/transaction.c | |
parent | Merge pull request #2496 from RyanDwyer/fix-transaction-crash (diff) | |
parent | Fix crash when adding output (diff) | |
download | sway-08a69f267a96a5b0591222ef1d0f40208e46d484.tar.gz sway-08a69f267a96a5b0591222ef1d0f40208e46d484.tar.zst sway-08a69f267a96a5b0591222ef1d0f40208e46d484.zip |
Merge pull request #2483 from RyanDwyer/floating-emit-reparent
Send enter/leave events for floating views
Diffstat (limited to 'sway/desktop/transaction.c')
-rw-r--r-- | sway/desktop/transaction.c | 3 |
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) { | |||
195 | } | 195 | } |
196 | 196 | ||
197 | container->instruction = NULL; | 197 | container->instruction = NULL; |
198 | if (container->type == C_CONTAINER || container->type == C_VIEW) { | ||
199 | container_discover_outputs(container); | ||
200 | } | ||
198 | } | 201 | } |
199 | } | 202 | } |
200 | 203 | ||