From c24a45aa75563b9531d4a7788eb3ad9193bac198 Mon Sep 17 00:00:00 2001 From: Sebastian Geerken Date: Fri, 17 Jun 2016 11:03:58 +0200 Subject: RTFL. --- dw/widget.cc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'dw/widget.cc') 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); -- cgit v1.2.3