summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-10-24 15:45:47 +0200
committerLibravatar GitHub <noreply@github.com>2018-10-24 15:45:47 +0200
commit46fc4ba4e3e2444ff68a894ab837d8e1e3324e0a (patch)
tree1164f5d83b421ef5e2bdf49764a096b9551e5363 /include
parentMerge pull request #2954 from RyanDwyer/cursor-rebase-after-focus-direction (diff)
parentRebase the cursor after mapping a view (diff)
downloadsway-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.h7
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;
29void transaction_commit_dirty(void); 29void transaction_commit_dirty(void);
30 30
31/** 31/**
32 * Same as above, but runs the specific callback when the transaction is
33 * applied.
34 */
35void 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.