Commit a329f246 authored by Charles Yin's avatar Charles Yin Committed by Qt by Nokia

Make sure window manager wakeup() can always wake up

1. Change isExternalUpdatePending to true to avoid window manager sleep again immediately
   without processing any events
2. Also wake up the window manager if wait at posting sync event

Change-Id: I184dba32a66379b688b585c27c4d01799c233e84
Reviewed-by: 's avatarMartin Jones <>
parent adb8811e
......@@ -1120,7 +1120,8 @@ void QQuickRenderThreadSingleContextWindowManager::maybeUpdate(QQuickCanvas *)
void QQuickRenderThreadSingleContextWindowManager::wakeup()
if (isRenderBlocked)
isExternalUpdatePending = true;
if (isRenderBlocked || isPostingSyncEvent)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment