summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/ios/qiosinputcontext.mm
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2018-06-05 13:23:00 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2018-06-05 12:10:16 +0000
commit80583809041717f499c46aeb9b23f97562bcc9e5 (patch)
treee3db4fd796fcbe566c5d5f94535465336a90a380 /src/plugins/platforms/ios/qiosinputcontext.mm
parent0a63d5fed6e020e81d3c570d299d1292c33fa284 (diff)
macOS: Manually compute frame rect for zoomed/maximized state
We cannot rely on AppKit to compute the zoomed frame for us, as it will not allow borderless windows to be zoomed, and also has bugs in corner cases with multiple screens, where the zoomed window jumps from the current screen to a nearby screen. The latter happens when the zoomed rect overlaps more with a nearby screen than it does with the current screen. In this case AppKit zooms the window on the nearby screen, but this is unexpected from the user's perspective, who zoomed the window on the current screen, so we make sure to always keep the window on the current screen by repositioning the window correspondingly. Task-number: QTBUG-67543 Change-Id: I8762c5cbf2e3b317a6caf11d820712596e15114a Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'src/plugins/platforms/ios/qiosinputcontext.mm')
0 files changed, 0 insertions, 0 deletions