diff --git a/protocol/wayland.xml b/protocol/wayland.xml index 59bedaa4..93f9d553 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.