summaryrefslogtreecommitdiff
path: root/src/i810_accel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/i810_accel.c')
-rw-r--r--src/i810_accel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i810_accel.c b/src/i810_accel.c
index 2b0b594a..44d14e85 100644
--- a/src/i810_accel.c
+++ b/src/i810_accel.c
@@ -259,7 +259,7 @@ I810Sync(ScrnInfoPtr pScrn)
#ifdef XF86DRI
/* VT switching tries to do this.
*/
- if (!pI810->LockHeld && pI810->directRenderingEnabled) {
+ if ((!pI810->LockHeld && pI810->directRenderingEnabled) || !pScrn->vtSema) {
return;
}
#endif