diff options
| author | Tor Arne Vestbø <[email protected]> | 2021-09-07 15:07:27 +0200 |
|---|---|---|
| committer | Tor Arne Vestbø <[email protected]> | 2021-09-13 12:51:33 +0200 |
| commit | 11214f4c428497a594e17972bc566d1445b681c6 (patch) | |
| tree | 5a525fef5e1e7a1f503c09194194f3db540e5357 /src/gui/platform/unix/qunixnativeinterface.cpp | |
| parent | 3ddc3c78ce7e4df1a7125292c4c3ad329f061926 (diff) | |
Don't exclude WA_DontShowOnScreen widgets for QWidgetWindow event processing
The Qt::WA_DontShowOnScreen widget attribute does not limit whether a
widget will be created (have a QWindow and corresponding QPlatformWindow).
It only limits whether the widget will be shown.
As a result, we need to respect and process incoming events on a QWindow
level, just as any other window. Any considerations that may apply because
of WA_DontShowOnScreen should happen further down in the event delivery.
For example for the issue in 74aae00a4e8e70845e8092abbefa7830c386e66b,
where QWidgetWindow::handleExposeEvent() cleared the WA_Mapped flag which
was set by QWidgetPrivate::show_sys().
Change-Id: I187ebe14ea84538a3715f1d09fb1ba1ce93fcc82
Reviewed-by: Volker Hilsheimer <[email protected]>
Reviewed-by: Qt CI Bot <[email protected]>
Diffstat (limited to 'src/gui/platform/unix/qunixnativeinterface.cpp')
0 files changed, 0 insertions, 0 deletions
