summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@opencompositing.org>2007-06-26 22:44:48 +0200
committerDennis Kasprzyk <onestone@opencompositing.org>2007-06-26 22:44:48 +0200
commit24ec172b96dd751ad423c6445190fb7679625c94 (patch)
tree22ab4b011ba3ef58c28c01f51fa987861a49b9ac
parent69dec82f4a9de908b9f3e3f334a40bf5db3f5184 (diff)
download3d-24ec172b96dd751ad423c6445190fb7679625c94.tar.gz
3d-24ec172b96dd751ad423c6445190fb7679625c94.tar.bz2
Fixed walker interface.
-rw-r--r--3d.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/3d.c b/3d.c
index d3a6391..8f1a2a5 100644
--- a/3d.c
+++ b/3d.c
@@ -747,7 +747,7 @@ tdPaintTransformedOutput(CompScreen * s,
CompWindow* now;
CompWindow* firstFTB = NULL;
- CompWindow* lastBTF = NULL;
+ CompWindow* lastBTF = s->reverseWindows;
tds->reorderWindowPainting = FALSE;
@@ -781,6 +781,7 @@ tdPaintTransformedOutput(CompScreen * s,
}
tds->firstFTB = firstFTB;
+ tds->lastBTF = lastBTF;
UNWRAP(tds, s, paintTransformedOutput);
(*s->paintTransformedOutput) (s, sAttrib, transform, region, output, mask);
@@ -896,7 +897,7 @@ tdWalkNext (CompWindow *w)
return w->prev;
}
- if (w == tds->lastBTF)
+ if (w == tds->lastBTF && w != w->screen->reverseWindows)
return w->screen->reverseWindows;
return w->next;
}
@@ -1084,6 +1085,9 @@ static Bool tdInitScreen(CompPlugin * p, CompScreen * s)
tds->xMove = 0.0f;
+ tds->firstFTB = NULL;
+ tds->lastBTF = s->reverseWindows;
+
s->privates[tdd->screenPrivateIndex].ptr = tds;
return TRUE;