This fixes a painting glitch where the window would stay in the old
position with the old rotation until it got repainted.
Change-Id: Id9de256b525760e8b32e55a87549efeccca151e0
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Reviewed-by: Kevin Krammer <kevin.krammer@kdab.com>
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 );
}
}