summaryrefslogtreecommitdiff
path: root/dw/stackingcontextmgr.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-12-13 13:25:11 +0100
committerSebastian Geerken <devnull@localhost>2014-12-13 13:25:11 +0100
commit96c763b6f6c5383964451f030fbce5bfbc98d4ef (patch)
tree6324259e26640cbfc755602aea3c2ac70066fbf6 /dw/stackingcontextmgr.cc
parentc897465aeefacaba3172dd136a386bd3ef2728f7 (diff)
Yet another bug fix related to z-indices iteration.
Diffstat (limited to 'dw/stackingcontextmgr.cc')
-rw-r--r--dw/stackingcontextmgr.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/stackingcontextmgr.cc b/dw/stackingcontextmgr.cc
index ef330852..c9039e73 100644
--- a/dw/stackingcontextmgr.cc
+++ b/dw/stackingcontextmgr.cc
@@ -159,7 +159,7 @@ void StackingContextMgr::draw (View *view, Rectangle *area,
*index, childSCWidgets->size ());
while (*interruptedWidget == NULL &&
- *zIndexIndex <= numZIndices) {
+ *zIndexIndex < numZIndices) {
// Wrong region of z-indices (top or bottom) is simply ignored
// (as well as non-defined zIndices).
if (zIndices != NULL && zIndices[*zIndexIndex] >= startZIndex &&