diff options
author | Drew DeVault <[email protected]> | 2018-07-15 06:49:29 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2018-07-15 06:49:29 -0700 |
commit | 8e05fb782658f0bc13cfba6c069ba39122417317 (patch) | |
tree | 87a568ff97fc94ca82b9ceb4abacb02ea86a9f71 /sway/main.c | |
parent | 53e3f35ba348d6285478ceb4a93b020e138c95c7 (diff) | |
parent | a120d4c79f9406a2f7cc38c60069d3183c98ea87 (diff) |
Merge pull request #2275 from RyanDwyer/transactionise-focus
Make focus part of transactions
Diffstat (limited to 'sway/main.c')
-rw-r--r-- | sway/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/main.c b/sway/main.c index 1d772b48..1a55b519 100644 --- a/sway/main.c +++ b/sway/main.c @@ -20,6 +20,7 @@ #include "sway/commands.h" #include "sway/config.h" #include "sway/debug.h" +#include "sway/desktop/transaction.h" #include "sway/server.h" #include "sway/tree/layout.h" #include "sway/ipc-server.h" @@ -441,6 +442,7 @@ int main(int argc, char **argv) { free(line); list_del(config->cmd_queue, 0); } + transaction_commit_dirty(); if (!terminate_request) { server_run(&server); |