diff options
author | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2016-04-01 13:36:36 +0200 |
---|---|---|
committer | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2016-04-25 00:00:49 +0200 |
commit | 8d700fe008ccf9f7eb4664e236277c9f30a449fb (patch) | |
tree | fb9f36de0acca621a6995db59c52cf3eb2002770 /include | |
parent | Tabbed and stacked layout (diff) | |
download | sway-8d700fe008ccf9f7eb4664e236277c9f30a449fb.tar.gz sway-8d700fe008ccf9f7eb4664e236277c9f30a449fb.tar.zst sway-8d700fe008ccf9f7eb4664e236277c9f30a449fb.zip |
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.h | 6 |
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); | |||
240 | * Returns true if the child is a desecendant of the parent. | 240 | * Returns true if the child is a desecendant of the parent. |
241 | */ | 241 | */ |
242 | bool swayc_is_child_of(swayc_t *child, swayc_t *parent); | 242 | bool swayc_is_child_of(swayc_t *child, swayc_t *parent); |
243 | |||
244 | /** | ||
245 | * Returns true if view is stacked or tabbed. | ||
246 | */ | ||
247 | bool swayc_is_tabbed_stacked(swayc_t *view); | ||
248 | |||
243 | /** | 249 | /** |
244 | * Returns the gap (padding) of the container. | 250 | * Returns the gap (padding) of the container. |
245 | * | 251 | * |