mirror of
https://github.com/swaywm/sway.git
synced 2025-11-05 13:29:51 -05:00
Make main properties be the pending state
This commit is contained in:
parent
59c9488701
commit
f9e6d703d2
9 changed files with 143 additions and 157 deletions
|
|
@ -91,7 +91,9 @@ struct sway_container {
|
|||
*/
|
||||
size_t id;
|
||||
|
||||
struct sway_container_state pending;
|
||||
// The pending state is the main container properties, and the current state is in the below struct.
|
||||
// This means most places of the code can refer to the main variables (pending state) and it'll just work.
|
||||
struct sway_container_state current;
|
||||
|
||||
char *name; // The view's title (unformatted)
|
||||
char *formatted_title; // The title displayed in the title bar
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue