diff options
Diffstat (limited to 'dw/layout.cc')
-rw-r--r-- | dw/layout.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/layout.cc b/dw/layout.cc index d18bc486..ee58f7ee 100644 --- a/dw/layout.cc +++ b/dw/layout.cc @@ -376,7 +376,7 @@ void Layout::addWidget (Widget *widget) // The toplevel widget always establishes a stacking context. It could // already be set in Widget::setStyle(). - if (widget->stackingContextMgr == NULL) { + if (widget->stackingContextMgr == NULL && IMPL_POS) { widget->stackingContextMgr = new StackingContextMgr (widget); DBG_OBJ_ASSOC (widget, widget->stackingContextMgr); widget->stackingContextWidget = widget; |