<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - intel-virtual-output virtual screens behaving strangely."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=76146#c27">Comment # 27</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - intel-virtual-output virtual screens behaving strangely."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=76146">bug 76146</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>Or perhaps:

diff --git a/tools/virtual.c b/tools/virtual.c
index 0dfd308..9233879 100644
--- a/tools/virtual.c
+++ b/tools/virtual.c
@@ -1247,6 +1247,10 @@ err:
                             dst->x, dst->y, dst->mode.width, dst->mode.height,
                             dst->rotation, (long)rr_crtc, dst->mode.id));

+                       ret = XRRSetPanning(dst->dpy, res, rr_crtc,
memset(&panning, 0, sizeof(panning)));
+                       DBG(("%s-%s: XRRSetPanning %s\n",
DisplayString(dst->dpy), dst->name, ret ? "failed" : "success"));
+                       (void)ret;
+
                        ret = XRRSetCrtcConfig(dst->dpy, res, rr_crtc,
CurrentTime,
                                               dst->x, dst->y, dst->mode.id,
dst->rotation,
                                               &dst->rr_output, 1);
@@ -1254,10 +1258,6 @@ err:
                        if (ret)
                                goto err;

-                       ret = XRRSetPanning(dst->dpy, res, rr_crtc,
memset(&panning, 0, sizeof(panning)));
-                       DBG(("%s-%s: XRRSetPanning %s\n",
DisplayString(dst->dpy), dst->name, ret ? "failed" : "success"));
-                       (void)ret;
-
                        if (EXTRA_DBG) {
                                XRRCrtcInfo *c;
                                XRRPanning *p;</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>