[PATCH wayland] protocol: Change wording of pointer.set_cursor()

Ander Conselvan de Oliveira ander.conselvan.de.oliveira at intel.com
Thu Jun 28 08:08:03 PDT 2012


Change the description of pointer.set_cursor() so that a client without
pointer focus but that currently owns the pointer surface can update the
hotspot using it.
---
 protocol/wayland.xml |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/protocol/wayland.xml b/protocol/wayland.xml
index fba5947..5260ecf 100644
--- a/protocol/wayland.xml
+++ b/protocol/wayland.xml
@@ -777,8 +777,9 @@
       <description summary="set the pointer surface">
 	Set the pointer surface, i.e., the surface that contains the
 	pointer image. This request only takes effect if the pointer
-	focus for this device is one of the requesting client surfaces.
-	If there was a previous surface set with this request it is
+	focus for this device is one of the requesting client surfaces
+	or the surface parameter is the current pointer surface. If
+	there was a previous surface set with this request it is
 	replaced. If surface is NULL, the pointer image is hidden.
 
 	The parameters hotspot_x and hotspot_y define the position of
-- 
1.7.4.1



More information about the wayland-devel mailing list