From 16b8c2e915fb7972ad5190ae2591b2d71789f477 Mon Sep 17 00:00:00 2001 From: Mikkel Oscar Lyderik Date: Tue, 29 Dec 2015 13:00:35 +0100 Subject: Handle SIGTERM sent to sway This makes sway handle and gracefully shut down everything when receiving a SIGTERM. Fix #416 --- include/container.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') 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); */ void update_visibility(swayc_t *container); +/** + * Close all child views of container + */ +void close_views(swayc_t *container); + #endif -- cgit v1.2.3-54-g00ecf