summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/kernel/qwindow
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2023-08-15 21:17:53 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2023-09-12 16:29:58 +0200
commit4e2e3a6b4fe0ff5e1930707808f02e3be9343312 (patch)
tree4def4ae182dc226996e44c368967c6c5ac077c6d /tests/auto/gui/kernel/qwindow
parentf2a2c669f681624bdc15e4c022298f98b4c27141 (diff)
xcb: Reflect geometry of foreign window on creation
Pick-to: 6.6 Change-Id: I305b256696a32454f64c12c5a8901b65506fc520 Reviewed-by: Liang Qi <liang.qi@qt.io>
Diffstat (limited to 'tests/auto/gui/kernel/qwindow')
-rw-r--r--tests/auto/gui/kernel/qwindow/tst_foreignwindow.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/auto/gui/kernel/qwindow/tst_foreignwindow.cpp b/tests/auto/gui/kernel/qwindow/tst_foreignwindow.cpp
index ce4d9f28c8..c42bb9d974 100644
--- a/tests/auto/gui/kernel/qwindow/tst_foreignwindow.cpp
+++ b/tests/auto/gui/kernel/qwindow/tst_foreignwindow.cpp
@@ -67,8 +67,6 @@ void tst_ForeignWindow::initialState()
// For extra bonus points, the foreign window should actually
// reflect the state of the native window.
- if (!QGuiApplication::platformName().compare(QLatin1String("xcb"), Qt::CaseInsensitive))
- QEXPECT_FAIL("", "QXcbWindow does not pick up foreign window geometry", Continue);
QCOMPARE(foreignWindow->geometry(), initialGeometry);
}