diff options
author | 2016-07-07 21:41:32 -0400 | |
---|---|---|
committer | 2016-07-07 21:41:32 -0400 | |
commit | 0374154749653b5f29b86e255af7b2346bddebe0 (patch) | |
tree | 20a270ed04829763c56c854f7b3978cf4b640e5d /include | |
parent | Merge pull request #739 from deklov/swaybar-pointer-01 (diff) | |
parent | Fix tabbed/stacked corner case #742 (diff) | |
download | sway-0374154749653b5f29b86e255af7b2346bddebe0.tar.gz sway-0374154749653b5f29b86e255af7b2346bddebe0.tar.zst sway-0374154749653b5f29b86e255af7b2346bddebe0.zip |
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.h | 5 |
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); | |||
254 | bool swayc_is_child_of(swayc_t *child, swayc_t *parent); | 254 | bool 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 | */ | ||
259 | bool 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 | */ |