From 470213753b158225b44a39a872599344acbc7101 Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Fri, 7 Oct 2005 18:15:08 +0000 Subject: [PATCH] update the last RandR fix --- hw/xfree86/common/xf86RandR.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hw/xfree86/common/xf86RandR.c b/hw/xfree86/common/xf86RandR.c index f9ea4e683..b5c19c94c 100644 --- a/hw/xfree86/common/xf86RandR.c +++ b/hw/xfree86/common/xf86RandR.c @@ -261,8 +261,12 @@ 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 */ (*scrp->PointerMoved) (pScreen->myNum, px, py); + } } return TRUE;