summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Mikkel Oscar Lyderik <mikkeloscar@gmail.com>2015-12-29 13:00:35 +0100
committerLibravatar Mikkel Oscar Lyderik <mikkeloscar@gmail.com>2015-12-29 13:03:53 +0100
commit16b8c2e915fb7972ad5190ae2591b2d71789f477 (patch)
tree3474e5a04ec25468b0a26112796d8b5a4e0f6021 /include
parenthandlers: geometry_request: Better debug output. (diff)
downloadsway-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.h5
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 */
261void update_visibility(swayc_t *container); 261void update_visibility(swayc_t *container);
262 262
263/**
264 * Close all child views of container
265 */
266void close_views(swayc_t *container);
267
263#endif 268#endif