diff options
author | Wladimir Leuschner <wladimir.leuschner@qt.io> | 2024-06-04 12:53:53 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2024-06-14 13:44:27 +0000 |
commit | ea730f3671d3bcd5c609a80ab8e58d52b4d8da41 (patch) | |
tree | c717fd5eea609bda66ba6a4d2aa42996f74e6d64 /examples/corelib/tools/contiguouscache/randomlistmodel.h | |
parent | a2aa1f81a818eddd597cbcd648adf8a89e8c9fa8 (diff) |
QWindowsWindow: Use updated windowFlags for framelessWindow query6.7
Currently the internal flags of QWindow are not up-to-date when querying
them during QWindowsWindow::setFlags with QWindow::flags(). QWindow
updates its flags after QWindowsWindow returns from setFlags. This patch
adds a getter, to query the updated internal state of
Qt::FrameLessWindowHint flag from QWindowsWindow's m_data.flags.
This is needed due to QWindowsWindow is calling SetWindowPos, which
immediately enters the WndProc without access to the newly set flags.
Change-Id: I826f29ef608d1e0a4b416e123aa4116587a035a7
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit 0e6907d2f0e95a8892df55e075837cc0e81e0f3f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit e9ba7b7660e1391f9077b81aa73c60ea3d61bdcb)
Diffstat (limited to 'examples/corelib/tools/contiguouscache/randomlistmodel.h')
0 files changed, 0 insertions, 0 deletions