diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/desktop/transaction.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/sway/desktop/transaction.h b/include/sway/desktop/transaction.h index 66e8c9a2..f38f033c 100644 --- a/include/sway/desktop/transaction.h +++ b/include/sway/desktop/transaction.h | |||
@@ -29,6 +29,13 @@ struct sway_view; | |||
29 | void transaction_commit_dirty(void); | 29 | void transaction_commit_dirty(void); |
30 | 30 | ||
31 | /** | 31 | /** |
32 | * Same as above, but runs the specific callback when the transaction is | ||
33 | * applied. | ||
34 | */ | ||
35 | void transaction_commit_dirty_with_callback( | ||
36 | void (*callback)(void *data), void *data); | ||
37 | |||
38 | /** | ||
32 | * Notify the transaction system that a view is ready for the new layout. | 39 | * Notify the transaction system that a view is ready for the new layout. |
33 | * | 40 | * |
34 | * When all views in the transaction are ready, the layout will be applied. | 41 | * When all views in the transaction are ready, the layout will be applied. |