aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2016-04-01 13:36:36 +0200
committerFurkan Sahin <furkan-dev@proton.me>2016-04-01 13:36:36 +0200
commit385356ca6073235910576cf403275b41a0c1fb90 (patch)
treefb9f36de0acca621a6995db59c52cf3eb2002770 /include
parent7951d34ee050e97abc9a2b8bb1cf982513517875 (diff)
Fix problems with floating windows
Makes any tabbed/stacked layout a container to separate from floating windows which may be attached to a workspace.
Diffstat (limited to 'include')
-rw-r--r--include/container.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/container.h b/include/container.h
index 26da851e..d9f33b8a 100644
--- a/include/container.h
+++ b/include/container.h
@@ -240,6 +240,12 @@ bool swayc_is_parent_of(swayc_t *parent, swayc_t *child);
* Returns true if the child is a desecendant of the parent.
*/
bool swayc_is_child_of(swayc_t *child, swayc_t *parent);
+
+/**
+ * Returns true if view is stacked or tabbed.
+ */
+bool swayc_is_tabbed_stacked(swayc_t *view);
+
/**
* Returns the gap (padding) of the container.
*