aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2016-01-10 00:29:29 +0100
committerSebastian Geerken <devnull@localhost>2016-01-10 00:29:29 +0100
commitf3170c41ea31c074568465527399c4db1fdbc72e (patch)
tree530580d7c76cfcb1a57aa8ec83971dae15107372
parentc122d6384e6197aa6fc2a0500dfb3271c44cd07a (diff)
Do not create a StacḱingContextMgr at all. (Until positioned elements are correctly implemented.)
-rw-r--r--dw/layout.cc2
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;