summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/cocoa/qcocoawindow.h
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2017-07-04 17:01:22 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2017-07-08 16:53:28 +0000
commit74fc88f6387b16064289962d72d85f34de8df189 (patch)
tree71d1a77c3e44082b4b08ee43d468c1d9a3f6e084 /src/plugins/platforms/cocoa/qcocoawindow.h
parent0d196b42683deb852c0df90ce76eb9cf98112fb9 (diff)
macOS: Move geometry reporting from QNSView to QCocoaWindow
There's no longer any reason to call out from QCocoaWindow to QNView for this, as the geometry events from AppKit are delivered directly to the QCocoaWindow. Most of the data used in the implementation are coming from QCocoaWindow anyways, and this enables geometry events for foreign windows in the future. Change-Id: Idd724d078e9981304dcbe6742b9ddc71640a2350 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/plugins/platforms/cocoa/qcocoawindow.h')
-rw-r--r--src/plugins/platforms/cocoa/qcocoawindow.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/cocoa/qcocoawindow.h b/src/plugins/platforms/cocoa/qcocoawindow.h
index 98c74c07f3..533ad3444b 100644
--- a/src/plugins/platforms/cocoa/qcocoawindow.h
+++ b/src/plugins/platforms/cocoa/qcocoawindow.h
@@ -226,6 +226,8 @@ public: // for QNSView
bool alwaysShowToolWindow() const;
void removeMonitor();
+ void handleGeometryChange();
+
NSView *m_view;
QCocoaNSWindow *m_nsWindow;