summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-11-08 13:00:11 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2013-11-08 13:00:11 +0000
commit83c33a1f436c947ab3d9289a9c57d92f964e9541 (patch)
treeb75a63c40df7e4a1be266fdffed292d9d2dafa9c /tools
parent8b10c528044840d6c2a6244034fc6c2555476b8e (diff)
intel-virtual-output: Disable event tracking after a failure
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tools')
-rw-r--r--tools/virtual.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/virtual.c b/tools/virtual.c
index b1527dff..b03a14db 100644
--- a/tools/virtual.c
+++ b/tools/virtual.c
@@ -1369,6 +1369,9 @@ static int clone_paint(struct clone *c)
XSync(c->dst.dpy, False);
c->dst.display->flush = 0;
c->dst.display->send = 0;
+
+ /* Event tracking proven unreliable, disable */
+ c->dst.display->shm_event = 0;
}
}