On Mon, Sep 29, 2008 at 11:01:44PM +0100, [EMAIL PROTECTED] 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
_______________________________________________
xorg mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xorg

Reply via email to