Handle SIGTERM sent to sway

This makes sway handle and gracefully shut down everything when
receiving a SIGTERM.

Fix #416
This commit is contained in:
Mikkel Oscar Lyderik 2015-12-29 13:00:35 +01:00
parent b18f004210
commit 16b8c2e915
4 changed files with 24 additions and 7 deletions

View file

@ -260,4 +260,9 @@ void add_gaps(swayc_t *view, void *amount);
*/
void update_visibility(swayc_t *container);
/**
* Close all child views of container
*/
void close_views(swayc_t *container);
#endif