[patch 3/4] Update for MPX changes

Peter Hutterer peter.hutterer at who-t.net
Mon Sep 29 21:59:43 PDT 2008


On Mon, Sep 29, 2008 at 11:01:44PM +0100, jon.turney at dronecode.org.uk wrote:
> @@ -79,7 +79,7 @@ miPointerScreenFuncRec g_winPointerCurso
>  
>  
>  static void
> -winPointerWarpCursor (ScreenPtr pScreen, int x, int y)
> +winPointerWarpCursor (DeviceIntPtr pDev, ScreenPtr pScreen, int x, int y)
>  {
>    winScreenPriv(pScreen);
>    RECT			rcClient;
> @@ -119,7 +119,7 @@ winPointerWarpCursor (ScreenPtr pScreen,
>      }
>  
>    /* Call the mi warp procedure to do the actual warping in X. */
> -  miPointerWarpCursor (pScreen, x, y);
> +  miPointerWarpCursor (inputInfo.pointer, pScreen, x, y);

That should be miPointerWarpCursor(pDev, pScreen, x, y); 
Not that it matters much if you have only one cursor anyway, but still.

Rest looks ok, though I didn't even compile-tested it.
 
Cheers,
  Peter



More information about the xorg mailing list