mirror of
https://github.com/swaywm/sway.git
synced 2026-04-25 06:46:24 -04:00
transaction: Note if instructions are server requests
On server request, we need to send configure events to inform the client of the new intended size. If the client changes size itself, sending a configure event will only cause problems. Use transaction_commit_dirty_client to distinguish between the two transaction causes.
This commit is contained in:
parent
4e02a598a3
commit
67751a6ae0
4 changed files with 26 additions and 6 deletions
|
|
@ -28,6 +28,12 @@ struct sway_view;
|
|||
*/
|
||||
void transaction_commit_dirty(void);
|
||||
|
||||
/*
|
||||
* Same as transaction_commit_dirty, but signalling that this is a
|
||||
* client-initiated change has already taken effect.
|
||||
*/
|
||||
void transaction_commit_dirty_client(void);
|
||||
|
||||
/**
|
||||
* Notify the transaction system that a view is ready for the new layout.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue