summaryrefslogtreecommitdiffstats
path: root/cmake/QtSetup.cmake
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2021-09-15 00:14:31 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2021-09-22 17:14:12 +0200
commita36a795770d4c4cbab610c5721140023e02b1737 (patch)
treeb9f0870e443e5f3b34c2bc57388ad3abe317f743 /cmake/QtSetup.cmake
parentf82653c9735909f60efc6379abdb24803926ffa3 (diff)
macOS: Fix logic for determining NSWindowStyleMaskTitled/Borderless
We were working under the assumption that the NSWindowStyleMaskBorderless style mask excluded all others, on account of having the value 0. But in practice this does not seem to be the case, and you can combine the mask with many of the other masks. The only mask that is mutually exclusive with the borderless mask is NSWindowStyleMaskTitled (with a value of 1). Clarify this be restructuring QCocoaWindow::windowStyleMask(). Task-number: QTBUG-71485 Change-Id: I4bbd603fd2373c11f76e84b72a2a60aa2356b032 Reviewed-by: Doris Verria <doris.verria@qt.io> Reviewed-by: Øystein Heskestad <oystein.heskestad@qt.io> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'cmake/QtSetup.cmake')
0 files changed, 0 insertions, 0 deletions