summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/virtual.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/virtual.c b/tools/virtual.c
index 9d018846..df925168 100644
--- a/tools/virtual.c
+++ b/tools/virtual.c
@@ -2967,7 +2967,7 @@ int main(int argc, char **argv)
DisplayString(ctx.display->dpy),
de->area.x, de->area.y, de->area.width, de->area.height));
- for (clone = ctx.active; clone; clone = clone->next)
+ for (clone = ctx.active; clone; clone = clone->active)
clone_damage(clone, &de->area);
if (ctx.active)