diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/container.h | 8 |
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 | ||
59 | enum view_visibility { | ||
60 | INVISIBLE = 1, | ||
61 | VISIBLE = 2 | ||
62 | }; | ||
63 | |||
59 | // Container Creation | 64 | // Container Creation |
60 | 65 | ||
61 | swayc_t *new_output(wlc_handle handle); | 66 | swayc_t *new_output(wlc_handle handle); |
@@ -106,4 +111,7 @@ void container_map(swayc_t *, void (*f)(swayc_t *, void *), void *); | |||
106 | void set_view_visibility(swayc_t *view, void *data); | 111 | void set_view_visibility(swayc_t *view, void *data); |
107 | void reset_gaps(swayc_t *view, void *data); | 112 | void reset_gaps(swayc_t *view, void *data); |
108 | 113 | ||
114 | |||
115 | void update_visibility(swayc_t *container); | ||
116 | |||
109 | #endif | 117 | #endif |