summaryrefslogtreecommitdiffstats
path: root/src/widgets/doc/snippets/qtreewidget-using/mainwindow.cpp
diff options
context:
space:
mode:
authorWs ShawnWoo <ws.shawnwoo@gmail.com>2023-11-07 14:16:32 +0800
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2023-11-12 08:40:02 -0800
commit709d2848e1d33be70c2b9a9ff0219a3bba1a5114 (patch)
tree4740bd2a897c48cfe67d2c17493ad8c3356d6a19 /src/widgets/doc/snippets/qtreewidget-using/mainwindow.cpp
parentcb94e360ecc2809e462c6a01f45363db3d602684 (diff)
macOS: Implement NSTextInputClient.windowLevel
Without this optional NSTextInputClient method the input methods will assume it's safe to place the input panel somewhere above NSFloatingWindowLevel. But our NSWindow level can potentially be higher than that, if set via QWindow::setFlags(), or directly on the NSWindow. In practice this can be observed by setting a level higher than kCGDockWindowLevel on the NSWindow. Account for this by returning the true window level. Pick-to: 6.6 6.5 6.2 Change-Id: I77d9ac3c59e2f6de9b768c7519b2bc0f1e5fda1d Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/widgets/doc/snippets/qtreewidget-using/mainwindow.cpp')
0 files changed, 0 insertions, 0 deletions