summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/container.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/container.h b/include/container.h
index 50ca2bf5..6562a752 100644
--- a/include/container.h
+++ b/include/container.h
@@ -254,6 +254,11 @@ bool swayc_is_parent_of(swayc_t *parent, swayc_t *child);
254bool swayc_is_child_of(swayc_t *child, swayc_t *parent); 254bool swayc_is_child_of(swayc_t *child, swayc_t *parent);
255 255
256/** 256/**
257 * Returns true if this container is an empty workspace.
258 */
259bool swayc_is_empty_workspace(swayc_t *container);
260
261/**
257 * Returns the top most tabbed or stacked parent container. Returns NULL if 262 * Returns the top most tabbed or stacked parent container. Returns NULL if
258 * view is not in a tabbed/stacked layout. 263 * view is not in a tabbed/stacked layout.
259 */ 264 */