diff options
-rw-r--r-- | src/plugins/platforms/blackberry/qbbscreen.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/platforms/blackberry/qbbscreen.cpp b/src/plugins/platforms/blackberry/qbbscreen.cpp index 2902f7e..d36723a 100644 --- a/src/plugins/platforms/blackberry/qbbscreen.cpp +++ b/src/plugins/platforms/blackberry/qbbscreen.cpp @@ -228,6 +228,10 @@ void QBBScreen::setRotation(int rotation) // Rotating only the primary screen is what we had in the navigator event handler before refactoring if (mPrimaryDisplay) QWindowSystemInterface::handleScreenGeometryChange(mScreenIndex); + + // Flush everything, so that the windows rotations are applied properly. + // Needed for non-maximized windows + screen_flush_context(mContext, 0); } } |