[PATCH xserver 06/17] Input: Export SpriteRec for use in public API

Cyril Brulebois kibi at debian.org
Thu Dec 30 15:10:10 PST 2010


Daniel Stone <daniel at fooishbar.org> (28/12/2010):
> diff --git a/include/inputstr.h b/include/inputstr.h
> index 44de9c4..159d7f6 100644
> --- a/include/inputstr.h
> +++ b/include/inputstr.h
> @@ -203,6 +203,47 @@ typedef struct _GrabRec {
>      unsigned char       xi2mask[EMASKSIZE][XI2MASKSIZE];
>  } GrabRec;
>  
> +/**
> + * Sprite information for a device.
> + */
> +typedef struct _SpriteRec {
> +    CursorPtr	current;
> +    BoxRec	hotLimits;	/* logical constraints of hot spot */
> +    Bool	confined;	/* confined to screen */
> +    RegionPtr	hotShape;	/* additional logical shape constraint */
> +    BoxRec	physLimits;	/* physical constraints of hot spot */
> +    WindowPtr	win;		/* window of logical position */
> +    HotSpot	hot;		/* logical pointer position */
> +    HotSpot	hotPhys;	/* physical pointer position */
> +#ifdef PANORAMIX
> +    ScreenPtr	screen;		/* all others are in Screen 0 coordinates */
> +    RegionRec   Reg1;	        /* Region 1 for confining motion */
> +    RegionRec   Reg2;		/* Region 2 for confining virtual motion */
> +    WindowPtr   windows[MAXSCREENS];
> +    WindowPtr	confineWin;	/* confine window */ 

Applying: Input: Export SpriteRec for use in public API
/home/cyril/debian-x/xserver/xorg-server.git/.git/rebase-apply/patch:43: trailing whitespace.
    WindowPtr								 confineWin;	/* confine window */ 
warning: 1 line adds whitespace errors.

> +#endif
>
KiBi.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg-devel/attachments/20101231/e38fba43/attachment.pgp>


More information about the xorg-devel mailing list