aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2016-07-07 21:41:32 -0400
committerGitHub <noreply@github.com>2016-07-07 21:41:32 -0400
commit0374154749653b5f29b86e255af7b2346bddebe0 (patch)
tree20a270ed04829763c56c854f7b3978cf4b640e5d /include
parent378149b59c8d2a6d2b0bab7f2bb507dbac990734 (diff)
parentee67cd0ba1e950f5e21328580cc46b618be5fc01 (diff)
Merge pull request #744 from thejan2009/tabbed-stacked-layout-fixes
Fix tabbed/stacked corner case #742
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);
bool swayc_is_child_of(swayc_t *child, swayc_t *parent);
/**
+ * Returns true if this container is an empty workspace.
+ */
+bool swayc_is_empty_workspace(swayc_t *container);
+
+/**
* Returns the top most tabbed or stacked parent container. Returns NULL if
* view is not in a tabbed/stacked layout.
*/