aboutsummaryrefslogtreecommitdiff
path: root/include/sway
diff options
context:
space:
mode:
authorRyan Dwyer <ryandwyer1@gmail.com>2018-05-25 09:10:35 +1000
committerRyan Dwyer <ryandwyer1@gmail.com>2018-06-01 23:14:58 +1000
commit34f35f0badc767d9b0cbaf2fd429af1d30592d08 (patch)
tree1cc3a747d8e07cb55fa2cc95d26e2b33c792d89f /include/sway
parent1f2e399ade77070a2d0b82856ad9a3eef96b8676 (diff)
Use L_FLOATING instead of reapable boolean
Diffstat (limited to 'include/sway')
-rw-r--r--include/sway/tree/container.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h
index b802e1d1..906088f0 100644
--- a/include/sway/tree/container.h
+++ b/include/sway/tree/container.h
@@ -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;