mirror of
https://github.com/swaywm/sway.git
synced 2025-11-06 13:29:50 -05:00
properly exit sway
- wlc_terminate() instead of exit(0) - unlink IPC socket
This commit is contained in:
parent
bfbadadf70
commit
91c0877264
4 changed files with 22 additions and 10 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue