Cocoa: Update QPlatformWindow geometry on move
Change-Id: I976e4da646480d10cc6af444288c421d0645f689 Reviewed-on: http://codereview.qt-project.org/6541 Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
This commit is contained in:
parent
75246bbda7
commit
8346c192ad
@ -173,6 +173,7 @@ void QCocoaWindow::windowDidMove()
|
||||
NSRect windowRect = [m_nsWindow frame];
|
||||
|
||||
QRect geo(windowRect.origin.x, qt_mac_flipYCoordinate(windowRect.origin.y + rect.size.height), rect.size.width, rect.size.height);
|
||||
setGeometry(geo);
|
||||
QWindowSystemInterface::handleSynchronousGeometryChange(window(), geo);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user