Use L_FLOATING instead of reapable boolean

This commit is contained in:
Ryan Dwyer 2018-05-25 09:10:35 +10:00
parent 1f2e399ade
commit 34f35f0bad
5 changed files with 14 additions and 7 deletions

View file

@ -40,6 +40,7 @@ enum sway_container_layout {
L_VERT,
L_STACKED,
L_TABBED,
L_FLOATING,
};
enum sway_container_border {
@ -75,10 +76,6 @@ struct sway_container {
enum sway_container_layout layout;
enum sway_container_layout prev_layout;
// Allow the container to be automatically removed if it's empty. True by
// default, false for the magic floating container that each workspace has.
bool reapable;
// Saves us from searching the list of children/floating in the parent
bool is_floating;
bool is_sticky;