1
0
xorg-x11-server/randr1_1-sig11.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)
{