summaryrefslogtreecommitdiff
path: root/hw/xfree86/common/xf86RandR.c
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2005-10-07 21:29:39 +0000
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2005-10-07 21:29:39 +0000
commit526d1502df8db6799c9d1155b86ce79cef90872b (patch)
tree8eb44a609c5b4d08f25eb78898b62f47bd0090b8 /hw/xfree86/common/xf86RandR.c
parent5a71a5667eb5b01e0f65f9310f4af1f6c5711ab7 (diff)
another update to the RandR fix (thanks Aaron)
Diffstat (limited to 'hw/xfree86/common/xf86RandR.c')
-rw-r--r--hw/xfree86/common/xf86RandR.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/hw/xfree86/common/xf86RandR.c b/hw/xfree86/common/xf86RandR.c
index b5c19c94c..9abf99d7f 100644
--- a/hw/xfree86/common/xf86RandR.c
+++ b/hw/xfree86/common/xf86RandR.c
@@ -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;