summaryrefslogtreecommitdiff
path: root/dw/layout.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-07-17 14:32:22 +0200
committerSebastian Geerken <devnull@localhost>2014-07-17 14:32:22 +0200
commit0754874120c89fbc7e8c21b43c25337c83d74313 (patch)
treef8e6da2c3fac1399accbee4e6492fd9b4b1c2805 /dw/layout.cc
parent45110795cad4e47d5a0b9f1f0f2d08b16bd29538 (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.cc2
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;