diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2018-07-30 21:28:42 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2018-08-03 20:49:05 +0000 |
commit | 68f20bb8f4b74e313e1d44a7d7e78af6d8b5b3ea (patch) | |
tree | e9d47b3823dc6728f4843e715935234027791a78 /src/plugins/platforms/cocoa/qcocoascreen.h | |
parent | 144d33df72e5ca905b1d64134784923d5cd0733f (diff) |
macOS: Make screen property changes more verbose and granular
We only update the properties that have actually changed.
Change-Id: If711530c6118d2550d5a0e968ee02c903b44fd04
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@qt.io>
Diffstat (limited to 'src/plugins/platforms/cocoa/qcocoascreen.h')
-rw-r--r-- | src/plugins/platforms/cocoa/qcocoascreen.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/cocoa/qcocoascreen.h b/src/plugins/platforms/cocoa/qcocoascreen.h index afb294240e..9ded98df32 100644 --- a/src/plugins/platforms/cocoa/qcocoascreen.h +++ b/src/plugins/platforms/cocoa/qcocoascreen.h @@ -75,7 +75,7 @@ public: // Additional methods void setVirtualSiblings(const QList<QPlatformScreen *> &siblings) { m_siblings = siblings; } NSScreen *nativeScreen() const; - void updateGeometry(); + void updateProperties(); void requestUpdate(); void deliverUpdateRequests(); |