aboutsummaryrefslogtreecommitdiff
path: root/sway/desktop
diff options
context:
space:
mode:
authorRyan Dwyer <ryandwyer1@gmail.com>2018-06-29 19:44:54 +1000
committerRyan Dwyer <ryandwyer1@gmail.com>2018-06-29 19:44:54 +1000
commitd7169ee7ffd45318125dbe3013aadbd1482a3e5f (patch)
tree33399a07278aa9f624d7fecee5912a9823e33e4d /sway/desktop
parente8fb6b3325ee545312c092f0b103eea2424fce9f (diff)
Replace list_empty with a simple alternative
Diffstat (limited to 'sway/desktop')
-rw-r--r--sway/desktop/transaction.c2
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) {