diff options
author | Sebastian Geerken <devnull@localhost> | 2016-06-17 11:03:58 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2016-06-17 11:03:58 +0200 |
commit | c24a45aa75563b9531d4a7788eb3ad9193bac198 (patch) | |
tree | f6785a32fc15c5f8040e6a7cbf059ce63d3e3b44 | |
parent | 71541a1763805207c6695e72070acf479c5614ab (diff) |
RTFL.
-rw-r--r-- | dw/widget.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dw/widget.cc b/dw/widget.cc index 2969aa78..c37d799d 100644 --- a/dw/widget.cc +++ b/dw/widget.cc @@ -375,6 +375,15 @@ void Widget::queueResize (int ref, bool extremesChanged, bool fast) widget2->markExtremesChange (child->parentRef); } + DBG_IF_RTFL { + if (widget2->parent) + DBG_OBJ_MSGF ("resize", 2, + "checking parent %p: (%d & %d) [= %d] == %d?", + widget2->parent, widget2->parent->flags, + totalFlags, widget2->parent->flags & totalFlags, + totalFlags); + } + if (widget2->parent && (widget2->parent->flags & totalFlags) == totalFlags) { widget2->parent->markSizeChange (widget2->parentRef); |