summaryrefslogtreecommitdiff
path: root/include/sway/container.h
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2017-11-25 16:30:15 -0500
committerDrew DeVault <[email protected]>2017-11-25 16:30:15 -0500
commit8caabe59c2e6f6174678e6c28be3381a7dabff10 (patch)
tree5425efb1f3b68e9b275d8429bba70a2b132b72c9 /include/sway/container.h
parenta57d46292694e388d74add7b0869bcafdb42b2bd (diff)
Handle view destruction properly
Diffstat (limited to 'include/sway/container.h')
-rw-r--r--include/sway/container.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sway/container.h b/include/sway/container.h
index 1a173f3e..08a98ed9 100644
--- a/include/sway/container.h
+++ b/include/sway/container.h
@@ -132,6 +132,8 @@ swayc_t *new_output(struct sway_output *sway_output);
swayc_t *new_workspace(swayc_t *output, const char *name);
swayc_t *new_view(swayc_t *sibling, struct sway_view *sway_view);
+swayc_t *destroy_view(swayc_t *view);
+
swayc_t *swayc_parent_by_type(swayc_t *container, enum swayc_types type);
#endif