15 lines
460 B
Diff
15 lines
460 B
Diff
|
diff --git a/hw/xfree86/common/xf86RandR.c b/hw/xfree86/common/xf86RandR.c
|
||
|
index 4432ad9..7e446de 100644
|
||
|
--- a/hw/xfree86/common/xf86RandR.c
|
||
|
+++ b/hw/xfree86/common/xf86RandR.c
|
||
|
@@ -223,6 +223,9 @@ xf86RandRSetConfig (ScreenPtr pScreen,
|
||
|
Bool useVirtual = FALSE;
|
||
|
Rotation oldRotation = randrp->rotation;
|
||
|
|
||
|
+ if (!scrp->vtSema)
|
||
|
+ return FALSE;
|
||
|
+
|
||
|
miPointerPosition (&px, &py);
|
||
|
for (mode = scrp->modes; ; mode = mode->next)
|
||
|
{
|