aboutsummaryrefslogtreecommitdiffstats
path: root/include/container.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/container.h')
-rw-r--r--include/container.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/container.h b/include/container.h
index 6c0de104..cfb2e868 100644
--- a/include/container.h
+++ b/include/container.h
@@ -94,6 +94,7 @@ swayc_t *swayc_focus_by_layout(swayc_t *container, enum swayc_layouts);
94 94
95 95
96swayc_t *swayc_by_handle(wlc_handle handle); 96swayc_t *swayc_by_handle(wlc_handle handle);
97swayc_t *swayc_by_name(const char *name);
97swayc_t *swayc_active_output(void); 98swayc_t *swayc_active_output(void);
98swayc_t *swayc_active_workspace(void); 99swayc_t *swayc_active_workspace(void);
99swayc_t *swayc_active_workspace_for(swayc_t *view); 100swayc_t *swayc_active_workspace_for(swayc_t *view);
@@ -102,6 +103,10 @@ swayc_t *swayc_active_workspace_for(swayc_t *view);
102 103
103bool swayc_is_fullscreen(swayc_t *view); 104bool swayc_is_fullscreen(swayc_t *view);
104bool swayc_is_active(swayc_t *view); 105bool swayc_is_active(swayc_t *view);
106// Is `parent` the parent of `child`
107bool swayc_is_parent_of(swayc_t *parent, swayc_t *child);
108// Is `child` a child of `parent`
109bool swayc_is_child_of(swayc_t *child, swayc_t *parent);
105 110
106// Mapping functions 111// Mapping functions
107 112