From fd66852e8f75e67bdce79385dbab292e4e5fc647 Mon Sep 17 00:00:00 2001 From: Sebastian Geerken Date: Mon, 22 Sep 2014 12:16:30 +0200 Subject: Fixed OOFPositionedMgr::sizeAllocateStart. --- dw/oofpositionedmgr.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'dw/oofpositionedmgr.cc') diff --git a/dw/oofpositionedmgr.cc b/dw/oofpositionedmgr.cc index 709a5b91..8257e0b9 100644 --- a/dw/oofpositionedmgr.cc +++ b/dw/oofpositionedmgr.cc @@ -50,7 +50,13 @@ OOFPositionedMgr::~OOFPositionedMgr () void OOFPositionedMgr::sizeAllocateStart (OOFAwareWidget *caller, Allocation *allocation) { - containerAllocation = *allocation; + DBG_OBJ_ENTER ("resize.oofm", 0, "sizeAllocateStart", + "%p, (%d, %d, %d * (%d + %d))", + caller, allocation->x, allocation->y, allocation->width, + allocation->ascent, allocation->descent); + if (caller == container) + containerAllocation = *allocation; + DBG_OBJ_LEAVE (); } void OOFPositionedMgr::sizeAllocateEnd (OOFAwareWidget *caller) -- cgit v1.2.3