mirror of
https://github.com/swaywm/sway.git
synced 2025-11-05 13:29:51 -05:00
Force transactions to complete in order
This forces transactions to complete in order by using a singly linked list stored in the sway server.
This commit is contained in:
parent
32b865e610
commit
f08a30d6d0
2 changed files with 74 additions and 18 deletions
|
|
@ -47,6 +47,8 @@ struct sway_server {
|
|||
|
||||
bool terminating;
|
||||
|
||||
struct sway_transaction *head_transaction; // singly linked list
|
||||
|
||||
// When a view is being destroyed and is waiting for a transaction to
|
||||
// complete it will be stored here.
|
||||
list_t *destroying_containers;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue