[PATCH 9/9] protocol: Improve a bit of grammar for wl_surface::attach description

Bryce W. Harrington b.harrington at samsung.com
Thu Aug 8 18:47:07 PDT 2013


Signed-off-by: Bryce Harrington <b.harrington at samsung.com>
---
 protocol/wayland.xml |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index 8619e91..89edd83 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -1015,11 +1015,12 @@
 
 	Destroying the wl_buffer after wl_buffer.release does not change
 	the surface contents. However, if the client destroys the
-	wl_buffer before receiving wl_buffer.release, the surface
+	wl_buffer before the receiving wl_buffer.release event, the surface
 	contents become undefined immediately.
 
-	Only if wl_surface.attach is sent with a NULL wl_buffer, the
-	following wl_surface.commit will remove the surface content.
+	If (and only if) wl_surface.attach is sent with a NULL
+	wl_buffer, the following wl_surface.commit will remove the
+	surface content.
       </description>
 
       <arg name="buffer" type="object" interface="wl_buffer" allow-null="true"/>
-- 
1.7.9.5


More information about the wayland-devel mailing list