From c30ad0d9da08a95246471483bfc66410a4153564 Mon Sep 17 00:00:00 2001 From: Ander Conselvan de Oliveira Date: Thu, 28 Jun 2012 18:08:03 +0300 Subject: [PATCH] protocol: Change wording of pointer.set_cursor() 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 file 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 @@ 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 -- 2.7.4