diff options
| author | Ws ShawnWoo <ws.shawnwoo@gmail.com> | 2023-11-07 14:16:32 +0800 |
|---|---|---|
| committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2023-11-12 08:40:02 -0800 |
| commit | 709d2848e1d33be70c2b9a9ff0219a3bba1a5114 (patch) | |
| tree | 4740bd2a897c48cfe67d2c17493ad8c3356d6a19 /src/widgets/doc/snippets/qtablewidget-using/mainwindow.cpp | |
| parent | cb94e360ecc2809e462c6a01f45363db3d602684 (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/qtablewidget-using/mainwindow.cpp')
0 files changed, 0 insertions, 0 deletions
