Merge pull request #2957 from RyanDwyer/rebase-cursor-after-map

Rebase the cursor after mapping a view
This commit is contained in:
Drew DeVault 2018-10-24 15:45:47 +02:00 committed by GitHub
commit 46fc4ba4e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 63 additions and 11 deletions

View file

@ -28,6 +28,13 @@ struct sway_view;
*/
void transaction_commit_dirty(void);
/**
* Same as above, but runs the specific callback when the transaction is
* applied.
*/
void transaction_commit_dirty_with_callback(
void (*callback)(void *data), void *data);
/**
* Notify the transaction system that a view is ready for the new layout.
*