aboutsummaryrefslogtreecommitdiff
path: root/include/container.h
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2015-12-29 13:00:35 +0100
committerFurkan Sahin <furkan-dev@proton.me>2015-12-29 13:00:35 +0100
commit6dd156d2116388b9812d0ea7549abb8bbdcc0ca8 (patch)
tree3474e5a04ec25468b0a26112796d8b5a4e0f6021 /include/container.h
parent9a010502e94749bfc13758c5cdf0be9c9643d65d (diff)
Handle SIGTERM sent to sway
This makes sway handle and gracefully shut down everything when receiving a SIGTERM. Fix #416
Diffstat (limited to 'include/container.h')
-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);
*/
void update_visibility(swayc_t *container);
+/**
+ * Close all child views of container
+ */
+void close_views(swayc_t *container);
+
#endif