mirror of
https://github.com/swaywm/sway.git
synced 2025-11-01 22:58:41 -04:00
Implement atomic layout updates for xwayland views
This commit is contained in:
parent
b6a238c7b7
commit
1549fb719a
3 changed files with 40 additions and 27 deletions
|
|
@ -49,6 +49,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.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue