diff options
author | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2015-12-29 13:00:35 +0100 |
---|---|---|
committer | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2015-12-29 13:03:53 +0100 |
commit | 16b8c2e915fb7972ad5190ae2591b2d71789f477 (patch) | |
tree | 3474e5a04ec25468b0a26112796d8b5a4e0f6021 /include | |
parent | handlers: geometry_request: Better debug output. (diff) | |
download | sway-16b8c2e915fb7972ad5190ae2591b2d71789f477.tar.gz sway-16b8c2e915fb7972ad5190ae2591b2d71789f477.tar.zst sway-16b8c2e915fb7972ad5190ae2591b2d71789f477.zip |
Handle SIGTERM sent to sway
This makes sway handle and gracefully shut down everything when
receiving a SIGTERM.
Fix #416
Diffstat (limited to 'include')
-rw-r--r-- | include/container.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/container.h b/include/container.h index d76160de..d5126e74 100644 --- a/include/container.h +++ b/include/container.h | |||
@@ -260,4 +260,9 @@ void add_gaps(swayc_t *view, void *amount); | |||
260 | */ | 260 | */ |
261 | void update_visibility(swayc_t *container); | 261 | void update_visibility(swayc_t *container); |
262 | 262 | ||
263 | /** | ||
264 | * Close all child views of container | ||
265 | */ | ||
266 | void close_views(swayc_t *container); | ||
267 | |||
263 | #endif | 268 | #endif |