summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-04-07 08:28:55 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-04-07 08:28:55 +0100
commitbf1875139817c5b00d63a743e262c8f3552058ab (patch)
tree5d50bc745136200edb4020068bc4be6cc2fb93f0 /tools
parent8ef81d676c52e42a6d9048fd92b2843470b62945 (diff)
intel-virtual-output: Fixup DBG messages
Use the right variables and it may even compile. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tools')
-rw-r--r--tools/virtual.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/virtual.c b/tools/virtual.c
index 714a0e86..19af4446 100644
--- a/tools/virtual.c
+++ b/tools/virtual.c
@@ -1303,7 +1303,7 @@ ungrab:
continue;
DBG(("%s-%s: added to active list\n",
- DisplayString(dst->dpy), dst->name));
+ DisplayString(clone->dst.display->dpy), clone->dst.name));
clone->active = ctx->active;
ctx->active = clone;
@@ -1671,7 +1671,7 @@ static void clone_damage(struct clone *c, const XRectangle *rec)
c->damaged.y2 = (int)rec->y + rec->height;
DBG(("%s-%s damaged: (%d, %d), (%d, %d)\n",
- DisplayString(c->dst->dpy), c->dst->name,
+ DisplayString(c->dst.display->dpy), c->dst.name,
c->damaged.x1, c->damaged.y1,
c->damaged.x2, c->damaged.y2));
}