summaryrefslogtreecommitdiff
path: root/dw/layout.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dw/layout.cc')
-rw-r--r--dw/layout.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/dw/layout.cc b/dw/layout.cc
index f16cbae7..289b204b 100644
--- a/dw/layout.cc
+++ b/dw/layout.cc
@@ -907,7 +907,8 @@ void Layout::resizeIdle ()
updateAnchor ();
- DBG_OBJ_MSGF ("resize", 1, "resizeIdleId = %d", resizeIdleId);
+ DBG_OBJ_MSGF ("resize", 1,
+ "after resizeIdle: resizeIdleId = %d", resizeIdleId);
DBG_OBJ_MSG_END ();
leaveResizeIdle ();
@@ -961,11 +962,17 @@ void Layout::queueDrawExcept (int x, int y, int width, int height,
void Layout::queueResize ()
{
+ DBG_OBJ_MSG ("resize", 0, "<b>queueResize</b>");
+ DBG_OBJ_MSG_START ();
+
if (resizeIdleId == -1) {
view->cancelQueueDraw ();
resizeIdleId = platform->addIdle (&Layout::resizeIdle);
+ DBG_OBJ_MSGF ("resize", 1, "setting resizeIdleId = %d", resizeIdleId);
}
+
+ DBG_OBJ_MSG_END ();
}