diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-10-24 15:45:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-24 15:45:47 +0200 |
commit | 46fc4ba4e3e2444ff68a894ab837d8e1e3324e0a (patch) | |
tree | 1164f5d83b421ef5e2bdf49764a096b9551e5363 /include | |
parent | Merge pull request #2954 from RyanDwyer/cursor-rebase-after-focus-direction (diff) | |
parent | Rebase the cursor after mapping a view (diff) | |
download | sway-46fc4ba4e3e2444ff68a894ab837d8e1e3324e0a.tar.gz sway-46fc4ba4e3e2444ff68a894ab837d8e1e3324e0a.tar.zst sway-46fc4ba4e3e2444ff68a894ab837d8e1e3324e0a.zip |
Merge pull request #2957 from RyanDwyer/rebase-cursor-after-map
Rebase the cursor after mapping a view
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. |