aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/transaction.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/desktop/transaction.c')
-rw-r--r--sway/desktop/transaction.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/desktop/transaction.c b/sway/desktop/transaction.c
index 7050d70c..e5ceae61 100644
--- a/sway/desktop/transaction.c
+++ b/sway/desktop/transaction.c
@@ -246,7 +246,7 @@ static void transaction_progress_queue() {
246 transaction_destroy(transaction); 246 transaction_destroy(transaction);
247 } 247 }
248 server.transactions->length = 0; 248 server.transactions->length = 0;
249 idle_inhibit_v1_check_active(&server); 249 idle_inhibit_v1_check_active(server.idle_inhibit_manager_v1);
250} 250}
251 251
252static int handle_timeout(void *data) { 252static int handle_timeout(void *data) {
@@ -322,7 +322,7 @@ void transaction_commit(struct sway_transaction *transaction) {
322 wlr_log(L_DEBUG, "Transaction %p has nothing to wait for", transaction); 322 wlr_log(L_DEBUG, "Transaction %p has nothing to wait for", transaction);
323 transaction_apply(transaction); 323 transaction_apply(transaction);
324 transaction_destroy(transaction); 324 transaction_destroy(transaction);
325 idle_inhibit_v1_check_active(&server); 325 idle_inhibit_v1_check_active(server.idle_inhibit_manager_v1);
326 return; 326 return;
327 } 327 }
328 328