aboutsummaryrefslogtreecommitdiff
path: root/dw/stackingcontextmgr.hh
diff options
context:
space:
mode:
Diffstat (limited to 'dw/stackingcontextmgr.hh')
-rw-r--r--dw/stackingcontextmgr.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/dw/stackingcontextmgr.hh b/dw/stackingcontextmgr.hh
index 3a877031..77bc1942 100644
--- a/dw/stackingcontextmgr.hh
+++ b/dw/stackingcontextmgr.hh
@@ -35,7 +35,8 @@ public:
~StackingContextMgr ();
inline static bool isEstablishingStackingContext (Widget *widget) {
- return widget->getStyle()->position != style::POSITION_STATIC &&
+ return IMPL_POS &&
+ widget->getStyle()->position != style::POSITION_STATIC &&
widget->getStyle()->zIndex != style::Z_INDEX_AUTO;
}