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:
Alexander Larsson 2013-05-16 15:49:35 +02:00 committed by Kristian Høgsberg
parent 5144cf6206
commit 911c068428

View file

@ -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">