diff options
author | Sebastian Geerken <devnull@localhost> | 2016-01-10 00:29:29 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2016-01-10 00:29:29 +0100 |
commit | f3170c41ea31c074568465527399c4db1fdbc72e (patch) | |
tree | 530580d7c76cfcb1a57aa8ec83971dae15107372 /dw/layout.cc | |
parent | c122d6384e6197aa6fc2a0500dfb3271c44cd07a (diff) |
Do not create a StacḱingContextMgr at all. (Until positioned elements are correctly implemented.)
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; |