diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-06-24 12:33:23 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-06-24 12:33:23 +1000 |
commit | f08a30d6d04b5f986ea1e66a017e81bcd7c77e39 (patch) | |
tree | a252ff8805495230ad7ac6ecdc81ac664649f6e0 /include/sway/server.h | |
parent | 32b865e610dd937af17ce36b8c986e41f55a4627 (diff) |
Force transactions to complete in order
This forces transactions to complete in order by using a singly linked
list stored in the sway server.
Diffstat (limited to 'include/sway/server.h')
-rw-r--r-- | include/sway/server.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sway/server.h b/include/sway/server.h index b07e86a7..2aa7b7fe 100644 --- a/include/sway/server.h +++ b/include/sway/server.h @@ -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; |