summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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));
}