aboutsummaryrefslogtreecommitdiffstats
path: root/protocol/wayland.xml
diff options
context:
space:
mode:
authorKirill Primak <vyivel@eclair.cafe>2024-01-19 13:34:37 +0300
committerSimon Ser <contact@emersion.fr>2024-01-27 15:17:28 +0000
commit8f499bf4045f88f3a4b4b0a445befca467bebe20 (patch)
tree832ac8fa826361826ab65e40fc7522645b53bb57 /protocol/wayland.xml
parentdoc: Improve wording for packed IDs (diff)
downloadwayland-8f499bf4045f88f3a4b4b0a445befca467bebe20.tar
wayland-8f499bf4045f88f3a4b4b0a445befca467bebe20.tar.gz
wayland-8f499bf4045f88f3a4b4b0a445befca467bebe20.tar.bz2
wayland-8f499bf4045f88f3a4b4b0a445befca467bebe20.tar.lz
wayland-8f499bf4045f88f3a4b4b0a445befca467bebe20.tar.xz
wayland-8f499bf4045f88f3a4b4b0a445befca467bebe20.tar.zst
wayland-8f499bf4045f88f3a4b4b0a445befca467bebe20.zip
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>
Diffstat (limited to 'protocol/wayland.xml')
-rw-r--r--protocol/wayland.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index 59bedaa..93f9d55 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -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"/>