Make sure window manager wakeup() can always wake up
authorCharles Yin <yinyunqiao@gmail.com>
Fri, 23 Mar 2012 16:17:35 +0000 (02:17 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 26 Mar 2012 04:10:56 +0000 (06:10 +0200)
commita329f246c02e2579f6a559c05240f63f0b5d5d3c
tree4603839448a44a8b3bfa57d6eb19a55e4e90e4da
parentadb8811e960876fa00eff621364edba8a79936f7
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: Martin Jones <martin.jones@nokia.com>
src/quick/items/qquickwindowmanager.cpp