summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/platforms/qnx/qqnxscreen.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/platforms/qnx/qqnxscreen.cpp b/src/plugins/platforms/qnx/qqnxscreen.cpp
index 0b28557998..a3360b1fe3 100644
--- a/src/plugins/platforms/qnx/qqnxscreen.cpp
+++ b/src/plugins/platforms/qnx/qqnxscreen.cpp
@@ -240,6 +240,10 @@ void QQnxScreen::setRotation(int rotation)
QWindowSystemInterface::handleScreenGeometryChange(screen(), m_currentGeometry);
resizeMaximizedWindows();
}
+
+ // Flush everything, so that the windows rotations are applied properly.
+ // Needed for non-maximized windows
+ screen_flush_context( m_screenContext, 0 );
}
}