aboutsummaryrefslogtreecommitdiff
path: root/dw/oofpositionedmgr.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-09-22 12:16:30 +0200
committerSebastian Geerken <devnull@localhost>2014-09-22 12:16:30 +0200
commitfd66852e8f75e67bdce79385dbab292e4e5fc647 (patch)
treecdeee282d3a57df8e806bcf09413b624cb6ba41a /dw/oofpositionedmgr.cc
parent1aec0b21afd6fee1db1119a5c361975daaeb49b8 (diff)
Fixed OOFPositionedMgr::sizeAllocateStart.
Diffstat (limited to 'dw/oofpositionedmgr.cc')
-rw-r--r--dw/oofpositionedmgr.cc8
1 files changed, 7 insertions, 1 deletions
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)