qt5base-lts/tests/auto/gui/kernel/qwindow
Tor Arne Vestbø f3e27d3688 Pick up initial state of foreign windows instead of reflecting QWindow
A foreign window can be used both for embedding a Qt window into a
native window hierarchy, or for embedding a native window into a Qt
window hierarchy. In the former case, we should not modify the foreign
window in any way. Since the platform does not know anything about the
intended use case at the time of the foreign window creation, it should
avoid modifying the foreign window in any way, and should instead pick
up the foreign window state and reflect that through QWindow.

Pick-to: 6.5
Change-Id: Id2e39d101277ecebd656d615cea3e7f734a4b0a6
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2023-03-28 16:31:17 +01:00
..
BLACKLIST Fix test being flaky on Linux 2022-07-26 16:33:41 +02:00
CMakeLists.txt Add basic test for QWindow foreign windows 2023-03-16 14:17:24 +01:00
tst_foreignwindow.cpp Pick up initial state of foreign windows instead of reflecting QWindow 2023-03-28 16:31:17 +01:00
tst_qwindow.cpp emit QWindow::windowStateChanged only when state has changed 2022-11-11 11:21:32 +01:00