diff options
author | Sebastian Geerken <devnull@localhost> | 2014-02-11 14:28:02 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-02-11 14:28:02 +0100 |
commit | b3a43e249ac93754f040dc3d38f043c84f6ca623 (patch) | |
tree | 9c0fbe3968ec35e9a201ad1c022df21cd648d7f9 /dw/outofflowmgr.cc | |
parent | c58aac5a407cecca7a073da225e2aa0609e22f14 (diff) |
RTFL.
Diffstat (limited to 'dw/outofflowmgr.cc')
-rw-r--r-- | dw/outofflowmgr.cc | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/dw/outofflowmgr.cc b/dw/outofflowmgr.cc index f776d8f9..608d2da0 100644 --- a/dw/outofflowmgr.cc +++ b/dw/outofflowmgr.cc @@ -1311,7 +1311,18 @@ void OutOfFlowMgr::checkRelationPosChanged (Float *vloat, Side side, int oldY) // here. Potential changes are handled later. Notice that // calcFloatX does not call ensureFloatSize. - if (textblock != vloat->generatingBlock && wasAllocated (textblock)) { + if (textblock == vloat->generatingBlock) + DBG_OBJ_MSGF ("resize.floats", 1, + "not checking (generating!) textblock %p against " + "this float ", textblock); + else if (!wasAllocated (textblock)) + DBG_OBJ_MSGF ("resize.floats", 1, + "not checking (not allocated!) textblock %p against " + "this float ", textblock); + else { + DBG_OBJ_MSGF ("resize.floats", 1, + "checking textblock %p against float %p", + textblock, vloat->getWidget ()); Allocation *tba = getAllocation (textblock); int tbx = tba->x - containingBlockAllocation.x, tby = tba->y - containingBlockAllocation.y, tbw = tba->width, |