<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - interl-virtual-output Pointer gone or misbehave if switch to VC and back to Xorg"
href="https://bugs.freedesktop.org/show_bug.cgi?id=75115#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - interl-virtual-output Pointer gone or misbehave if switch to VC and back to Xorg"
href="https://bugs.freedesktop.org/show_bug.cgi?id=75115">bug 75115</a>
from <span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span></b>
<pre>In both logs, there is an "unknown event 34" (which is the MappingNotify upon
VT switch) and thence mouse updates stop.
Can you please try:
diff --git a/tools/virtual.c b/tools/virtual.c
index cba247b..308f44e 100644
--- a/tools/virtual.c
+++ b/tools/virtual.c
@@ -2987,7 +2987,8 @@ int main(int argc, char **argv)
if (reconfigure && context_update(&ctx))
display_reset_damage(ctx.display);
- XPending(ctx.record);
+ while (XPending(ctx.record))
+ XNextEvent(ctx.record, &e);
if (ctx.timer_active && read(ctx.timer, &count, sizeof(count))
<span class="quote">> 0) {</span >
struct clone *clone;</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>