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

Kristian Høgsberg hoegsberg at gmail.com
Thu Jun 28 11:29:24 PDT 2012


On Thu, Jun 28, 2012 at 06:08:03PM +0300, Ander Conselvan de Oliveira wrote:
> 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.

Yeah, that's consistent, nice.

Kristian

> ---
>  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
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list