From f0f9af6dd9a71bc4b93c154d881b310fce80a1df Mon Sep 17 00:00:00 2001 From: Sebastian Geerken Date: Tue, 31 Dec 2013 00:04:58 +0100 Subject: RTFL messages. --- dw/layout.cc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'dw/layout.cc') 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, "resizeIdle"); + 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 (); } -- cgit v1.2.3