summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/cocoa/qcocoamenu.mm
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2017-01-25 12:58:29 +0100
committerTimur Pocheptsov <timur.pocheptsov@qt.io>2017-02-11 21:48:45 +0000
commit0b18d51b89d49d0c6f26de45ecc415ba540930e5 (patch)
tree0cba56019ffe3b7558fb3bf722cff488937251f6 /src/plugins/platforms/cocoa/qcocoamenu.mm
parentfa3dca176e03b39e982c5aff7a68850140c52507 (diff)
macOS: Handle window state changes directly in QCocoaWindow
Now that notification callbacks are delivered directly to QCocoaWindow, it doesn't make sense to then send them to QPA via QNSView. By skipping the QNSView roundtrip we also enable window state notifications for foreign windows. As an optimization we no longer flush all window system events, but use the new synchronous API to deliver the window state change event. Change-Id: I529b625fbe22e664c34a51bcd4448d1bf0392e6b Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/plugins/platforms/cocoa/qcocoamenu.mm')
0 files changed, 0 insertions, 0 deletions