diff options
author | David Edmundson <davidedmundson@kde.org> | 2021-05-10 00:02:44 +0100 |
---|---|---|
committer | David Edmundson <davidedmundson@kde.org> | 2021-05-10 08:07:57 +0100 |
commit | 689782d03747bc17c78d8e3a48f0f3eafb8e42b5 (patch) | |
tree | 14b7d3a86696744ab6ea02db748b1ec2a1351ba4 /tests | |
parent | a17c14c07be004aa8561e856aa4f041a6f46aba2 (diff) | |
download | qtwayland-689782d03747bc17c78d8e3a48f0f3eafb8e42b5.tar.gz |
Client: Make tst_nooutput more robust
We had auto configure on, but also manually configured half of the
configure event by hand.
This patch changes it to all be manual
Change-Id: Id130d71585c0d8a94107702e470de201fe1a189c
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/client/nooutput/tst_nooutput.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/client/nooutput/tst_nooutput.cpp b/tests/auto/client/nooutput/tst_nooutput.cpp index b80a8178..788c1e8d 100644 --- a/tests/auto/client/nooutput/tst_nooutput.cpp +++ b/tests/auto/client/nooutput/tst_nooutput.cpp @@ -37,7 +37,7 @@ public: NoOutputCompositor() { exec([this] { removeAll<Output>(); }); - m_config.autoConfigure = true; + m_config.autoConfigure = false; } }; @@ -68,6 +68,7 @@ void tst_nooutput::noScreens() exec([=] { xdgToplevel()->sendConfigure({0, 0}, {}); // Let the window decide the size + xdgSurface()->sendConfigure(nextSerial()); }); QTRY_VERIFY(window.isExposed()); |