diff options
Diffstat (limited to 'include/sway/tree/container.h')
-rw-r--r-- | include/sway/tree/container.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h index dd5bd47c..a8efd893 100644 --- a/include/sway/tree/container.h +++ b/include/sway/tree/container.h | |||
@@ -91,7 +91,9 @@ struct sway_container { | |||
91 | */ | 91 | */ |
92 | size_t id; | 92 | size_t id; |
93 | 93 | ||
94 | struct sway_container_state pending; | 94 | // The pending state is the main container properties, and the current state is in the below struct. |
95 | // This means most places of the code can refer to the main variables (pending state) and it'll just work. | ||
96 | struct sway_container_state current; | ||
95 | 97 | ||
96 | char *name; // The view's title (unformatted) | 98 | char *name; // The view's title (unformatted) |
97 | char *formatted_title; // The title displayed in the title bar | 99 | char *formatted_title; // The title displayed in the title bar |