summaryrefslogtreecommitdiffstats
path: root/include/container.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/container.h')
-rw-r--r--include/container.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/container.h b/include/container.h
index aadba5de..f684129a 100644
--- a/include/container.h
+++ b/include/container.h
@@ -56,6 +56,11 @@ struct sway_container {
56 struct sway_container *focused; 56 struct sway_container *focused;
57}; 57};
58 58
59enum view_visibility {
60 INVISIBLE = 1,
61 VISIBLE = 2
62};
63
59// Container Creation 64// Container Creation
60 65
61swayc_t *new_output(wlc_handle handle); 66swayc_t *new_output(wlc_handle handle);
@@ -106,4 +111,7 @@ void container_map(swayc_t *, void (*f)(swayc_t *, void *), void *);
106void set_view_visibility(swayc_t *view, void *data); 111void set_view_visibility(swayc_t *view, void *data);
107void reset_gaps(swayc_t *view, void *data); 112void reset_gaps(swayc_t *view, void *data);
108 113
114
115void update_visibility(swayc_t *container);
116
109#endif 117#endif