another update to the RandR fix (thanks Aaron)
This commit is contained in:
parent
5a71a5667e
commit
526d1502df
|
@ -261,12 +261,11 @@ 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);
|
(*pScreen->SetCursorPosition) (pScreen, px, py, FALSE);
|
||||||
|
|
||||||
/* Ensure AdjustFrame is called */
|
if (px < pScreen->width && py < pScreen->height)
|
||||||
(*scrp->PointerMoved) (pScreen->myNum, px, py);
|
(*scrp->PointerMoved) (pScreen->myNum, px, py);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Reference in New Issue