aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dw/oofposrelmgr.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/dw/oofposrelmgr.cc b/dw/oofposrelmgr.cc
index 3777755c..90cc47ae 100644
--- a/dw/oofposrelmgr.cc
+++ b/dw/oofposrelmgr.cc
@@ -66,7 +66,8 @@ void OOFPosRelMgr::calcWidgetRefSize (Widget *widget, Requisition *size)
void OOFPosRelMgr::sizeAllocateStart (OOFAwareWidget *caller,
Allocation *allocation)
{
- containerAllocation = *allocation;
+ if (caller == container)
+ containerAllocation = *allocation;
}
void OOFPosRelMgr::sizeAllocateEnd (OOFAwareWidget *caller)