another update to the RandR fix (thanks Aaron)

This commit is contained in:
Alan Hourihane 2005-10-07 21:29:39 +00:00
parent 5a71a5667e
commit 526d1502df

View File

@ -261,12 +261,11 @@ xf86RandRSetConfig (ScreenPtr pScreen,
*/
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 */
if (px < pScreen->width && py < pScreen->height)
(*scrp->PointerMoved) (pScreen->myNum, px, py);
}
}
return TRUE;