Send expose when we get a geometry change.

Change-Id: I4c0c5130e6513fb4031e847be01feff3653f256e
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
bb10
Gunnar Sletta 2013-02-28 17:24:15 +01:00 committed by The Qt Project
parent 750899660a
commit f7dfbb4bb2
1 changed files with 1 additions and 0 deletions

View File

@ -241,6 +241,7 @@ static QTouchDevice *touchDevice = 0;
// Send a geometry change event to Qt, if it's ready to handle events
if (!m_platformWindow->m_inConstructor) {
QWindowSystemInterface::handleGeometryChange(m_window, geometry);
QWindowSystemInterface::handleExposeEvent(m_window, geometry);
QWindowSystemInterface::flushWindowSystemEvents();
}
}