aboutsummaryrefslogtreecommitdiff
path: root/dw/layout.cc
diff options
context:
space:
mode:
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;