diff options
author | Sebastian Geerken <devnull@localhost> | 2014-09-24 21:45:37 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-09-24 21:45:37 +0200 |
commit | bcebc40e56a88fac5fbdd4cc04d74d53ac6ec3ff (patch) | |
tree | 004667ce96691a83841c2fb644328037efa38e9f /dw/oofpositionedmgr.cc | |
parent | fd1293cb0debeb0fbda3993e14eb43a2ff2bfd15 (diff) |
Avoid dublicate drawing.
Diffstat (limited to 'dw/oofpositionedmgr.cc')
-rw-r--r-- | dw/oofpositionedmgr.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dw/oofpositionedmgr.cc b/dw/oofpositionedmgr.cc index 3efb5002..4799ec8c 100644 --- a/dw/oofpositionedmgr.cc +++ b/dw/oofpositionedmgr.cc @@ -176,7 +176,8 @@ void OOFPositionedMgr::draw (View *view, Rectangle *area) for (int i = 0; i < children->size(); i++) { Widget *childWidget = children->get(i)->widget; Rectangle childArea; - if (childWidget->intersects (area, &childArea)) + if (!StackingContextMgr::handledByStackingContextMgr (childWidget) && + childWidget->intersects (area, &childArea)) childWidget->draw (view, &childArea); } |