mirror of
https://github.com/swaywm/sway.git
synced 2025-11-25 06:59:48 -05:00
Replace list_empty with a simple alternative
This commit is contained in:
parent
e8fb6b3325
commit
d7169ee7ff
3 changed files with 1 additions and 9 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue