diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-05-25 09:10:35 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-06-01 23:14:58 +1000 |
commit | 34f35f0badc767d9b0cbaf2fd429af1d30592d08 (patch) | |
tree | 1cc3a747d8e07cb55fa2cc95d26e2b33c792d89f /include | |
parent | Implement floating (diff) | |
download | sway-34f35f0badc767d9b0cbaf2fd429af1d30592d08.tar.gz sway-34f35f0badc767d9b0cbaf2fd429af1d30592d08.tar.zst sway-34f35f0badc767d9b0cbaf2fd429af1d30592d08.zip |
Use L_FLOATING instead of reapable boolean
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/tree/container.h | 5 |
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 { | |||
40 | L_VERT, | 40 | L_VERT, |
41 | L_STACKED, | 41 | L_STACKED, |
42 | L_TABBED, | 42 | L_TABBED, |
43 | L_FLOATING, | ||
43 | }; | 44 | }; |
44 | 45 | ||
45 | enum sway_container_border { | 46 | enum sway_container_border { |
@@ -75,10 +76,6 @@ struct sway_container { | |||
75 | enum sway_container_layout layout; | 76 | enum sway_container_layout layout; |
76 | enum sway_container_layout prev_layout; | 77 | enum sway_container_layout prev_layout; |
77 | 78 | ||
78 | // Allow the container to be automatically removed if it's empty. True by | ||
79 | // default, false for the magic floating container that each workspace has. | ||
80 | bool reapable; | ||
81 | |||
82 | // Saves us from searching the list of children/floating in the parent | 79 | // Saves us from searching the list of children/floating in the parent |
83 | bool is_floating; | 80 | bool is_floating; |
84 | bool is_sticky; | 81 | bool is_sticky; |