tst_xdgshell::showMinimized: Really make sure the window was created
The surface(), may be a leftover cursor surface from earlier tests. Check for an xdgSurface instead, as those are verified to be cleaned up between tests. Change-Id: I6a2b402130814e896d335787fcb90fd8d57cafb7 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
This commit is contained in:
parent
637e03a6f3
commit
95469e731c
@ -62,7 +62,7 @@ void tst_xdgshell::showMinimized()
|
||||
|
||||
// Make sure the window on the compositor side is/was created here, and not after the test
|
||||
// finishes, as that may mess up for later tests.
|
||||
QCOMPOSITOR_TRY_VERIFY(surface());
|
||||
QCOMPOSITOR_TRY_VERIFY(xdgSurface());
|
||||
QVERIFY(!window.isExposed());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user