diff options
author | Sebastian Geerken <devnull@localhost> | 2014-07-17 14:32:22 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-07-17 14:32:22 +0200 |
commit | 0754874120c89fbc7e8c21b43c25337c83d74313 (patch) | |
tree | f8e6da2c3fac1399accbee4e6492fd9b4b1c2805 /dw/layout.cc | |
parent | 45110795cad4e47d5a0b9f1f0f2d08b16bd29538 (diff) |
Fixed bug in Layout::resizeIdle: regard widgets which needs allocation but not resizing (because sizeRequest has been called within another context). Also some new RTFL messages.
Diffstat (limited to 'dw/layout.cc')
-rw-r--r-- | dw/layout.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/layout.cc b/dw/layout.cc index 64f2f8d5..82a21f57 100644 --- a/dw/layout.cc +++ b/dw/layout.cc @@ -889,7 +889,7 @@ void Layout::resizeIdle () // If this method is triggered by a viewport change, we can save // time when the toplevel widget is not affected (as for a toplevel // image resource). - if (topLevel && topLevel->needsResize ()) { + if (topLevel && (topLevel->needsResize () || topLevel->needsAllocate ())) { Requisition requisition; Allocation allocation; |