summaryrefslogtreecommitdiff
path: root/dw/layout.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-03-14 21:16:35 +0100
committerSebastian Geerken <devnull@localhost>2014-03-14 21:16:35 +0100
commit96a0181e59a9555c4953d59432e986cf23ea8bfc (patch)
tree3d9eaf3f57167d7760f9d08e4f318cb673d4c3a3 /dw/layout.cc
parent3b62d68aeed5aed4cce19c22ab03e6337c07c438 (diff)
And more RTFL.
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 ();
}