diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-06-29 19:44:54 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-06-29 19:44:54 +1000 |
commit | d7169ee7ffd45318125dbe3013aadbd1482a3e5f (patch) | |
tree | 33399a07278aa9f624d7fecee5912a9823e33e4d /sway/desktop/transaction.c | |
parent | e8fb6b3325ee545312c092f0b103eea2424fce9f (diff) |
Replace list_empty with a simple alternative
Diffstat (limited to 'sway/desktop/transaction.c')
-rw-r--r-- | sway/desktop/transaction.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/transaction.c b/sway/desktop/transaction.c index 7a2e78e5..fc23ef35 100644 --- a/sway/desktop/transaction.c +++ b/sway/desktop/transaction.c @@ -241,7 +241,7 @@ static void transaction_progress_queue() { transaction_apply(transaction); transaction_destroy(transaction); } - list_empty(server.transactions); + server.transactions->length = 0; } static int handle_timeout(void *data) { |