aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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 {
struct sway_container *focused;
};
+enum view_visibility {
+ INVISIBLE = 1,
+ VISIBLE = 2
+};
+
// Container Creation
swayc_t *new_output(wlc_handle handle);
@@ -106,4 +111,7 @@ void container_map(swayc_t *, void (*f)(swayc_t *, void *), void *);
void set_view_visibility(swayc_t *view, void *data);
void reset_gaps(swayc_t *view, void *data);
+
+void update_visibility(swayc_t *container);
+
#endif