mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-27 06:59:51 -05:00
protocol: Allow output changes to be treated atomically
This add a wl_output.done event which is send after every group of events caused by some property change. This allows clients to treat changes touching multiple events in an atomic fashion.
This commit is contained in:
parent
5144cf6206
commit
911c068428
1 changed files with 11 additions and 1 deletions
|
|
@ -1467,7 +1467,7 @@
|
|||
</event>
|
||||
</interface>
|
||||
|
||||
<interface name="wl_output" version="1">
|
||||
<interface name="wl_output" version="2">
|
||||
<description summary="compositor output region">
|
||||
An output describes part of the compositor geometry. The
|
||||
compositor works in the 'compositor coordinate system' and an
|
||||
|
|
@ -1565,6 +1565,16 @@
|
|||
<arg name="height" type="int" summary="height of the mode in pixels"/>
|
||||
<arg name="refresh" type="int" summary="vertical refresh rate in mHz"/>
|
||||
</event>
|
||||
|
||||
<event name="done" since="2">
|
||||
<description summary="sent all information about output">
|
||||
This event is sent after all other properties has been
|
||||
sent after binding to the output object and after any
|
||||
other property changes done after that. This allows
|
||||
changes to the output properties to be seen as
|
||||
atomic, even if they happen via multiple events.
|
||||
</description>
|
||||
</event>
|
||||
</interface>
|
||||
|
||||
<interface name="wl_region" version="1">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue