diff options
author | Sebastian Geerken <devnull@localhost> | 2013-12-31 00:04:58 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2013-12-31 00:04:58 +0100 |
commit | f0f9af6dd9a71bc4b93c154d881b310fce80a1df (patch) | |
tree | 5d346501ab4d70d1a578fb289aca42715b2f604e /dw/layout.cc | |
parent | 01f697091153846bdffc73b3150ba37c763301cc (diff) |
RTFL messages.
Diffstat (limited to 'dw/layout.cc')
-rw-r--r-- | dw/layout.cc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/dw/layout.cc b/dw/layout.cc index ff121250..c984b764 100644 --- a/dw/layout.cc +++ b/dw/layout.cc @@ -787,6 +787,9 @@ void Layout::setBgImage (style::StyleImage *bgImage, void Layout::resizeIdle () { + DBG_OBJ_MSG ("resize", 0, "<b>resizeIdle</b>"); + DBG_OBJ_MSG_START (); + enterQueueResize (); //static int calls = 0; @@ -828,6 +831,8 @@ void Layout::resizeIdle () Allocation allocation; topLevel->sizeRequest (&requisition); + DBG_OBJ_MSGF ("resize", 1, "toplevel size: %d * (%d + %d)", + requisition.width, requisition.ascent, requisition.descent); // This method is triggered by Widget::queueResize, which will, // in any case, set NEEDS_ALLOCATE (indirectly, as @@ -869,12 +874,12 @@ void Layout::resizeIdle () } // views are redrawn via Widget::resizeDrawImpl () - } updateAnchor (); - //printf ("Layout::resizeIdle end\n"); + DBG_OBJ_MSGF ("resize", 1, "resizeIdleId = %d", resizeIdleId); + DBG_OBJ_MSG_END (); leaveQueueResize (); } |