mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-03-23 05:35:51 -04:00
Merge branch 'jorth/get-release' into 'main'
protocol: clarify wl_surface.destroy with pending release callbacks See merge request wayland/wayland!523
This commit is contained in:
commit
0a2ca96ce4
1 changed files with 6 additions and 3 deletions
|
|
@ -1976,9 +1976,12 @@
|
||||||
The callback_data passed in the wl_callback.done event is unused and
|
The callback_data passed in the wl_callback.done event is unused and
|
||||||
is always zero.
|
is always zero.
|
||||||
|
|
||||||
Sending this request without attaching a non-null buffer in the same
|
If the wl_surface is destroyed while it contains uncommitted release
|
||||||
content update is a protocol error. The compositor will send the
|
callbacks, the wl_callback.done event is sent immediately.
|
||||||
no_buffer error in this case.
|
|
||||||
|
If a content update is committed and contains release callbacks, it must
|
||||||
|
also contain a non-null buffer. Otherwise, the compositor sends the
|
||||||
|
no_buffer error.
|
||||||
</description>
|
</description>
|
||||||
<arg name="callback" type="new_id" interface="wl_callback" summary="callback object for the release"/>
|
<arg name="callback" type="new_id" interface="wl_callback" summary="callback object for the release"/>
|
||||||
</request>
|
</request>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue