Allow workspace contents to be moved if there are only floating children

This commit is contained in:
Deiz
2012-10-04 14:10:10 -04:00
committed by Michael Stapelberg
parent e07803999f
commit ca77c12dde
4 changed files with 46 additions and 9 deletions

View File

@ -39,6 +39,12 @@ bool con_is_leaf(Con *con);
*/
bool con_is_split(Con *con);
/**
* Returns true if this node has regular or floating children.
*
*/
bool con_has_children(Con *con);
/**
* Returns true if this node accepts a window (if the node swallows windows,
* it might already have swallowed enough and cannot hold any more).