On Fri, Oct  2, 2009 at 13:42:48 -0700, Jamey Sharp wrote:

> diff --git a/hw/xfree86/common/xf86RandR.c b/hw/xfree86/common/xf86RandR.c
> index 02dcc34..807ce79 100644
> --- a/hw/xfree86/common/xf86RandR.c
> +++ b/hw/xfree86/common/xf86RandR.c
> @@ -307,7 +307,7 @@ xf86RandRSetConfig (ScreenPtr             pScreen,
>      /*
>       * Move the cursor back where it belongs; SwitchMode repositions it
>       */
> -    if (pScreen == miPointerCurrentScreen ())
> +    if (pScreen == miPointerGetScreen (inputInfo.pointer))
>      {
>       px = (px >= pScreen->width ? (pScreen->width - 1) : px);
>       py = (py >= pScreen->height ? (pScreen->height - 1) : py);

Should this loop over the master pointers instead?

Cheers,
Julien
_______________________________________________
xorg-devel mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to