aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickwindowmanager.cpp
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2012-05-19 13:19:09 +0200
committerQt by Nokia <qt-info@nokia.com>2012-05-21 08:32:36 +0200
commit95873956903fe195504491bbc9e50a63cf5c8307 (patch)
treeac9208927707322e7fe290fe4d2df61f1d383a4a /src/quick/items/qquickwindowmanager.cpp
parent8c951842d81a73c1fd6712701723430584d1a497 (diff)
Fixed missing repaints with threaded renderer.
Update when we get an expose event, like the trivial renderer does. Change-Id: Ib95559da35b94d84c0935c6abb24fdfb1e05fa1c Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
Diffstat (limited to 'src/quick/items/qquickwindowmanager.cpp')
-rw-r--r--src/quick/items/qquickwindowmanager.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/quick/items/qquickwindowmanager.cpp b/src/quick/items/qquickwindowmanager.cpp
index 339ed1c9b1..bef90816a2 100644
--- a/src/quick/items/qquickwindowmanager.cpp
+++ b/src/quick/items/qquickwindowmanager.cpp
@@ -940,6 +940,9 @@ void QQuickRenderThreadSingleContextWindowManager::exposureChanged(QQuickCanvas
printf("GUI: exposure changed: %p\n", canvas);
#endif
+ if (canvas->isExposed())
+ maybeUpdate(canvas);
+
#ifdef THREAD_DEBUG
printf("GUI: exposure changed done: %p\n", canvas);
#endif