xorg-x11-server/randr1_1-sig11.diff

15 lines
460 B
Diff
Raw Normal View History

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)
{