[PATCH] Fix XWin compilation after commit 769531b9

Peter Hutterer peter.hutterer at who-t.net
Thu Mar 24 17:16:39 PDT 2011


On Fri, Mar 18, 2011 at 03:06:33PM +0000, Jon TURNEY wrote:
> commit 769531b9 "Add mode field to pointer movement hooks" changes the
> function signature of miPointerSetPosition() to include the movement mode
> which resulted in the pointer position
> 
> Update use of miPointerSetPosition() in winEnqueueMotion() appropriately
> 
> (See http://tinderbox.freedesktop.org/builds/2011-03-16-0008/logs/xserver/#build)
> 
> Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>
> ---
>  hw/xwin/winmouse.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/hw/xwin/winmouse.c b/hw/xwin/winmouse.c
> index ee93d8f..080e096 100644
> --- a/hw/xwin/winmouse.c
> +++ b/hw/xwin/winmouse.c
> @@ -372,7 +372,7 @@ void winEnqueueMotion(int x, int y)
>    ValuatorMask mask;
>    EventListPtr events;
>  
> -  miPointerSetPosition(g_pwinPointer, &x, &y);
> +  miPointerSetPosition(g_pwinPointer, POINTER_RELATIVE, &x, &y);
>    valuators[0] = x;
>    valuators[1] = y;
>  
> -- 
> 1.7.4
 
Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>



More information about the xorg-devel mailing list