diff options
author | emersion <contact@emersion.fr> | 2018-08-04 20:41:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-04 20:41:45 +0100 |
commit | 0016f774407cdb96e6fe3b1b9235119d9b398f8b (patch) | |
tree | bc82fb73e33446c5ec0b50c1bae73658e3eeb6b4 /sway/main.c | |
parent | 5de2223c6df480759ee6d8f4422c2643491595d0 (diff) | |
parent | 30e7e0f7c7d3d3ce2851f2e70842d735343fb402 (diff) | |
download | sway-0016f774407cdb96e6fe3b1b9235119d9b398f8b.tar.xz |
Merge pull request #2418 from RyanDwyer/separate-root
Separate root-related code
Diffstat (limited to 'sway/main.c')
-rw-r--r-- | sway/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/main.c b/sway/main.c index c02caf42..d433368b 100644 --- a/sway/main.c +++ b/sway/main.c @@ -407,7 +407,7 @@ int main(int argc, char **argv) { wlr_log(WLR_INFO, "Starting sway version " SWAY_VERSION); - layout_init(); + root_create(); if (!server_init(&server)) { return 1; @@ -464,6 +464,7 @@ int main(int argc, char **argv) { wlr_log(WLR_INFO, "Shutting down sway"); server_fini(&server); + root_destroy(); if (config) { free_config(config); |