diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2018-06-24 23:01:09 +1000 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2018-06-24 23:01:09 +1000 |
| commit | a9cd5962430d140eb71247ad07ab39c75f57a593 (patch) | |
| tree | e5944487928a65b1af3b7dc9a44f1b14250bc0bf /include | |
| parent | 6301a7b47a1f5d25c487cb5103de506e79cde871 (diff) | |
Implement atomic layout updates for xwayland views
Diffstat (limited to 'include')
| -rw-r--r-- | include/sway/desktop/transaction.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/sway/desktop/transaction.h b/include/sway/desktop/transaction.h index d6adc609..b1da86f1 100644 --- a/include/sway/desktop/transaction.h +++ b/include/sway/desktop/transaction.h @@ -50,6 +50,15 @@ void transaction_commit(struct sway_transaction *transaction); void transaction_notify_view_ready(struct sway_view *view, uint32_t serial); /** + * Notify the transaction system that a view is ready for the new layout, but + * identifying the instruction by width and height rather than by serial. + * + * This is used by xwayland views, as they don't have serials. + */ +void transaction_notify_view_ready_by_size(struct sway_view *view, + int width, int height); + +/** * Get the texture that should be rendered for a view. * * In most cases this will return the normal live texture for a view, but if the |
