mirror of
https://github.com/swaywm/sway.git
synced 2025-11-02 09:01:40 -05:00
Use L_FLOATING instead of reapable boolean
This commit is contained in:
parent
1f2e399ade
commit
34f35f0bad
5 changed files with 14 additions and 7 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue