aboutsummaryrefslogtreecommitdiff
path: root/include/sway/desktop/transaction.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/desktop/transaction.h')
-rw-r--r--include/sway/desktop/transaction.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/sway/desktop/transaction.h b/include/sway/desktop/transaction.h
index 56361d94..7ac924e7 100644
--- a/include/sway/desktop/transaction.h
+++ b/include/sway/desktop/transaction.h
@@ -20,6 +20,8 @@
* create and commits a transaction from the dirty containers.
*/
+struct sway_transaction_instruction;
+
/**
* Find all dirty containers, create and commit a transaction containing them,
* and unmark them as dirty.
@@ -31,7 +33,8 @@ void transaction_commit_dirty(void);
*
* When all views in the transaction are ready, the layout will be applied.
*/
-void transaction_notify_view_ready(struct sway_view *view, uint32_t serial);
+void transaction_notify_view_ready_by_serial(struct sway_view *view,
+ uint32_t serial);
/**
* Notify the transaction system that a view is ready for the new layout, but