aboutsummaryrefslogtreecommitdiff
path: root/sway/desktop/transaction.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/desktop/transaction.c')
-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) {