aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xfree86/common
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-04-27 12:17:43 +0000
committermarha <marha@users.sourceforge.net>2010-04-27 12:17:43 +0000
commit929c7e1e824590c2f8bd47135f96c98a34027dd5 (patch)
tree6276192c5c4b18aaab2eccbc03b8d6e1b859ab1b /xorg-server/hw/xfree86/common
parente026745845d87ab4cd8b2a96b665d24b025644e1 (diff)
downloadvcxsrv-929c7e1e824590c2f8bd47135f96c98a34027dd5.tar.gz
vcxsrv-929c7e1e824590c2f8bd47135f96c98a34027dd5.tar.bz2
vcxsrv-929c7e1e824590c2f8bd47135f96c98a34027dd5.zip
git update 27/4/2010
Diffstat (limited to 'xorg-server/hw/xfree86/common')
-rw-r--r--xorg-server/hw/xfree86/common/xf86RandR.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xorg-server/hw/xfree86/common/xf86RandR.c b/xorg-server/hw/xfree86/common/xf86RandR.c
index 02dcc34b4..d4beb2ce2 100644
--- a/xorg-server/hw/xfree86/common/xf86RandR.c
+++ b/xorg-server/hw/xfree86/common/xf86RandR.c
@@ -163,7 +163,7 @@ xf86RandRSetMode (ScreenPtr pScreen,
WindowPtr pRoot = WindowTable[pScreen->myNum];
Bool ret = TRUE;
- if (pRoot)
+ if (pRoot && scrp->vtSema)
(*scrp->EnableDisableFBAccess) (pScreen->myNum, FALSE);
if (useVirtual)
{
@@ -229,7 +229,7 @@ xf86RandRSetMode (ScreenPtr pScreen,
*/
xf86SetViewport (pScreen, pScreen->width, pScreen->height);
xf86SetViewport (pScreen, 0, 0);
- if (pRoot)
+ if (pRoot && scrp->vtSema)
(*scrp->EnableDisableFBAccess) (pScreen->myNum, TRUE);
return ret;
}