diff options
author | Alexander Larsson <alexl@redhat.com> | 2013-05-16 15:49:35 +0200 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2013-05-22 16:15:29 -0400 |
commit | 911c0684281c53fca9423874d93469af8b436aa3 (patch) | |
tree | 3e52ff5e3bf41ccb780cd77119d9635dda0698c7 /protocol | |
parent | 5144cf6206182f382158c504e36660aa43f6608e (diff) |
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.
Diffstat (limited to 'protocol')
-rw-r--r-- | protocol/wayland.xml | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/protocol/wayland.xml b/protocol/wayland.xml index 3bce022..d3ae149 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -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"> |