update the last RandR fix

This commit is contained in:
Alan Hourihane 2005-10-07 18:15:08 +00:00
parent 348242f35a
commit 470213753b

View File

@ -261,8 +261,12 @@ xf86RandRSetConfig (ScreenPtr pScreen,
*/ */
if (pScreen == miPointerCurrentScreen ()) if (pScreen == miPointerCurrentScreen ())
{ {
if (px < pSize->width && py < pSize->height) if (px < pSize->width && py < pSize->height) {
(*pScreen->SetCursorPosition) (pScreen, px, py, FALSE);
/* Ensure AdjustFrame is called */
(*scrp->PointerMoved) (pScreen->myNum, px, py); (*scrp->PointerMoved) (pScreen->myNum, px, py);
}
} }
return TRUE; return TRUE;