diff options
author | Axel Spoerl <[email protected]> | 2025-06-19 08:28:51 +0200 |
---|---|---|
committer | Axel Spoerl <[email protected]> | 2025-06-19 17:46:13 +0200 |
commit | f783b8b31326a755346c385f86cabd3c77584292 (patch) | |
tree | 08d9040e40b9337d6de3f06c9f8efb3314dda29e /examples/sql/cachedtable/main.cpp | |
parent | 0ce82b78a35026cb56ff76d1c24b311008934a53 (diff) |
If QXcbWindow::setNetWmStateOnUnmappedWindow() is called on a window
that has already been requested to be mapped, it can be mapped before
the state has been applied, leading to the window having the wrong
state (e.g. requested modality not respected).
Eliminate the data race by locking m_mapped with the existing mutex
member.
Fixes: QTBUG-120031
Pick-to: 6.10 6.9 6.8 6.5
Change-Id: I2b142420fc155d8b465df846560d868bd87882fb
Reviewed-by: Liang Qi <[email protected]>
Reviewed-by: Tor Arne Vestbø <[email protected]>
Diffstat (limited to 'examples/sql/cachedtable/main.cpp')
0 files changed, 0 insertions, 0 deletions