summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2019-07-30 16:09:11 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2019-08-01 15:24:55 +0200
commit360000342ab095a936d8f09951e2b19c04c2678a (patch)
tree68c0b0b150068aa47a7c1d3d0a8266349cc0b835 /src/corelib
parent89e97e99378f90cd70e4b9f0462b8baece471d01 (diff)
macOS: Improve screen positioning during window creation
Allow AppKit to resolve screen for NSWindow lazily in the case where the position is outside any known screen. And explicitly set the style mask if detecting the corner case of positioning a window in the unavailable space on a rotated screen. In testing the effect of creating the window with a borderless style mask and then updating the mask did not seem to have any visual consequences, but we try to limit this mode just in case by only enabling it in the corner cases we detect. Change-Id: I4b7fcc6755a1ad5ff2683bec79d80a78226edae0 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/corelib')
0 files changed, 0 insertions, 0 deletions