aboutsummaryrefslogtreecommitdiff
path: root/dw/stackingcontextmgr.cc
diff options
context:
space:
mode:
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 &&