forked from pool/xorg-x11-server
15 lines
536 B
Diff
15 lines
536 B
Diff
Index: xorg-server-1.6.3/hw/xfree86/common/xf86RandR.c
|
|
===================================================================
|
|
--- xorg-server-1.6.3.orig/hw/xfree86/common/xf86RandR.c
|
|
+++ xorg-server-1.6.3/hw/xfree86/common/xf86RandR.c
|
|
@@ -246,6 +246,9 @@ xf86RandRSetConfig (ScreenPtr pScreen,
|
|
Bool useVirtual = FALSE;
|
|
Rotation oldRotation = randrp->rotation;
|
|
|
|
+ if (!scrp->vtSema)
|
|
+ return FALSE;
|
|
+
|
|
miPointerGetPosition(inputInfo.pointer, &px, &py);
|
|
for (mode = scrp->modes; ; mode = mode->next)
|
|
{
|