<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO --- - [ivo] In a tri-head configuration on a laptop, one of the external screens is not repainted"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=78293#c20">Comment # 20</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO --- - [ivo] In a tri-head configuration on a laptop, one of the external screens is not repainted"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=78293">bug 78293</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>Right, the bad panning is back. Can you please try:

diff --git a/tools/virtual.c b/tools/virtual.c
index d792957..8175944 100644
--- a/tools/virtual.c
+++ b/tools/virtual.c
@@ -457,7 +457,7 @@ static int disable_crtc(Display *dpy, XRRScreenResources
*res, RRCrtc crtc)
                if (XRRSetCrtcConfig(dpy, res, crtc, CurrentTime, 0, 0, None,
RR_Rotate_0, NULL, 0) != Success)
                        return 0;

-               if (XRRSetPanning(dpy, res, crtc, memset(&panning, 0,
sizeof(panning))) != Success) {
+               if (0 && XRRSetPanning(dpy, res, crtc, memset(&panning, 0,
sizeof(panning))) != Success) {
                        DBG(("%s failed to clear panning on CRTC:%ld\n",
DisplayString(dpy), (long)crtc));
                        if (EXTRA_DBG) {
                                XRRCrtcInfo *c;</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>