diff options
author | minus <[email protected]> | 2015-08-19 01:52:46 +0200 |
---|---|---|
committer | minus <[email protected]> | 2015-08-20 15:24:33 +0200 |
commit | 91c08772645e2162015c3acf8a8ae7187502adb4 (patch) | |
tree | 542f9f0371f408fc72fbb4715ea0766770ab3fad /sway/commands.c | |
parent | bfbadadf702c6c7f078cc2e854afa02686b91c22 (diff) |
properly exit sway
- wlc_terminate() instead of exit(0)
- unlink IPC socket
Diffstat (limited to 'sway/commands.c')
-rw-r--r-- | sway/commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands.c b/sway/commands.c index 803d9a21..38557b62 100644 --- a/sway/commands.c +++ b/sway/commands.c @@ -186,7 +186,7 @@ static bool cmd_exit(struct sway_config *config, int argc, char **argv) { } // Close all views container_map(&root_container, kill_views, NULL); - exit(0); + wlc_terminate(); return true; } |