[Bug 76146] intel-virtual-output virtual screens behaving strangely.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Mar 14 07:22:59 PDT 2014


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

--- Comment #27 from Chris Wilson <chris at chris-wilson.co.uk> ---
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;

-- 
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/20140314/0e977f4c/attachment.html>


More information about the intel-gfx-bugs mailing list