summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/intel_uxa.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/intel_uxa.c b/src/intel_uxa.c
index a9cb5b65..51e22da4 100644
--- a/src/intel_uxa.c
+++ b/src/intel_uxa.c
@@ -933,6 +933,10 @@ static Bool intel_uxa_get_image(PixmapPtr pixmap,
void intel_uxa_block_handler(intel_screen_private *intel)
{
+ /* don't call this if switche,d doesn't matter and we won't complain
+ that way */
+ if (!intel->scrn->vtSema)
+ return;
if (intel->shadow_damage &&
pixman_region_not_empty(DamageRegion(intel->shadow_damage))) {
intel_shadow_blt(intel);