diff options
Diffstat (limited to 'include/container.h')
-rw-r--r-- | include/container.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/include/container.h b/include/container.h index 4e21461c..2ced248b 100644 --- a/include/container.h +++ b/include/container.h | |||
@@ -81,12 +81,21 @@ swayc_t *destroy_view(swayc_t *view); | |||
81 | 81 | ||
82 | // Container Lookup | 82 | // Container Lookup |
83 | 83 | ||
84 | swayc_t *swayc_by_test(swayc_t *container, bool (*test)(swayc_t *view, void *data), void *data); | ||
84 | swayc_t *swayc_parent_by_type(swayc_t *container, enum swayc_types); | 85 | swayc_t *swayc_parent_by_type(swayc_t *container, enum swayc_types); |
85 | swayc_t *swayc_parent_by_layout(swayc_t *container, enum swayc_layouts); | 86 | swayc_t *swayc_parent_by_layout(swayc_t *container, enum swayc_layouts); |
87 | swayc_t *swayc_by_handle(wlc_handle handle); | ||
88 | swayc_t *swayc_active_output(void); | ||
89 | swayc_t *swayc_active_workspace(void); | ||
90 | swayc_t *swayc_active_workspace_for(swayc_t *view); | ||
86 | 91 | ||
87 | swayc_t *find_container(swayc_t *container, bool (*test)(swayc_t *view, void *data), void *data); | 92 | // Container information |
88 | void container_map(swayc_t *, void (*f)(swayc_t *, void *), void *); | 93 | |
94 | bool swayc_is_fullscreen(swayc_t *view); | ||
89 | 95 | ||
96 | // Mapping functions | ||
97 | |||
98 | void container_map(swayc_t *, void (*f)(swayc_t *, void *), void *); | ||
90 | 99 | ||
91 | // Mappings | 100 | // Mappings |
92 | void set_view_visibility(swayc_t *view, void *data); | 101 | void set_view_visibility(swayc_t *view, void *data); |