From 8d700fe008ccf9f7eb4664e236277c9f30a449fb Mon Sep 17 00:00:00 2001 From: Mikkel Oscar Lyderik Date: Fri, 1 Apr 2016 13:36:36 +0200 Subject: Fix problems with floating windows Makes any tabbed/stacked layout a container to separate from floating windows which may be attached to a workspace. --- include/container.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') 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. * -- cgit v1.2.3