diff options
author | Sebastian Geerken <devnull@localhost> | 2015-12-31 12:40:45 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2015-12-31 12:40:45 +0100 |
commit | 21b11e2ef463d13f5ce1002a5ba2575c2cac3606 (patch) | |
tree | 35535baa188bd10a3a1d911ff4255b8d3fdbc883 /dw/stackingcontextmgr.hh | |
parent | 23eab92430ac6a00fe8e64c0ab0b714076beb8a4 (diff) |
SRDOP: temporarily disable stacking context (only used for positioned elements), focus on floats.
Diffstat (limited to 'dw/stackingcontextmgr.hh')
-rw-r--r-- | dw/stackingcontextmgr.hh | 3 |
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; } |