mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
protocol: clarify pending wl_buffer destruction
This matches the current behavior of KWin, Mutter, and Weston. References: https://gitlab.freedesktop.org/wayland/wayland/-/issues/387 Signed-off-by: Kirill Primak <vyivel@eclair.cafe>
This commit is contained in:
parent
88ece8a44d
commit
8f499bf404
1 changed files with 3 additions and 2 deletions
|
|
@ -1512,8 +1512,9 @@
|
|||
mutates the underlying buffer storage, the surface contents become
|
||||
undefined immediately.
|
||||
|
||||
If wl_surface.attach is sent with a NULL wl_buffer, the
|
||||
following wl_surface.commit will remove the surface content.
|
||||
If wl_surface.attach is sent with a NULL wl_buffer, or the pending
|
||||
wl_buffer has been destroyed, the following wl_surface.commit will
|
||||
remove the surface content.
|
||||
</description>
|
||||
<arg name="buffer" type="object" interface="wl_buffer" allow-null="true"
|
||||
summary="buffer of surface contents"/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue