[Bug 78293] [ivo] In a tri-head configuration on a laptop, one of the external screens is not repainted

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu May 22 04:33:47 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=78293

--- Comment #37 from Chris Wilson <chris at chris-wilson.co.uk> ---
Actually, how about:

diff --git a/tools/virtual.c b/tools/virtual.c
index 8f707b7..956fabb 100644
--- a/tools/virtual.c
+++ b/tools/virtual.c
@@ -927,6 +927,10 @@ static RROutput claim_virtual(struct display *display,
char *output_name, int nc
        XRRDeleteOutputMode(dpy, rr_output, id);
        XRRDestroyMode(dpy, id);

+       /* And hide it again */
+       res = XRRGetScreenResources(dpy, display->root);
+       if (res == NULL)
+               XRRFreeScreenResources(res);
 out:
        XUngrabServer(dpy);

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140522/05e94e60/attachment.html>


More information about the intel-gfx-bugs mailing list