QNX: Remove sending synchronous window system events
This makes some OpenGL autotests fail. Apparently we are sending a expose event before the window is properly exposed. Change-Id: I1710ec51605088ce594fc4676214db2d822d1cc5 Reviewed-by: Kevin Krammer <kevin.krammer@kdab.com> Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
This commit is contained in:
parent
ea057c8372
commit
4059e586cc
@ -247,14 +247,8 @@ void QQnxWindow::setGeometry(const QRect &rect)
|
||||
|
||||
setGeometryHelper(newGeometry);
|
||||
|
||||
// Send a geometry change event to Qt (triggers resizeEvent() in QWindow/QWidget).
|
||||
|
||||
// Calling flushWindowSystemEvents() here would flush input events which
|
||||
// could result in re-entering QQnxWindow::setGeometry() again.
|
||||
QWindowSystemInterface::setSynchronousWindowsSystemEvents(true);
|
||||
QWindowSystemInterface::handleGeometryChange(window(), newGeometry);
|
||||
QWindowSystemInterface::handleExposeEvent(window(), newGeometry);
|
||||
QWindowSystemInterface::setSynchronousWindowsSystemEvents(false);
|
||||
}
|
||||
|
||||
void QQnxWindow::setGeometryHelper(const QRect &rect)
|
||||
|
Loading…
Reference in New Issue
Block a user