summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorDavid Edmundson <davidedmundson@kde.org>2021-05-10 00:02:44 +0100
committerDavid Edmundson <davidedmundson@kde.org>2021-05-10 08:07:57 +0100
commit689782d03747bc17c78d8e3a48f0f3eafb8e42b5 (patch)
tree14b7d3a86696744ab6ea02db748b1ec2a1351ba4 /tests/auto
parenta17c14c07be004aa8561e856aa4f041a6f46aba2 (diff)
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/auto')
-rw-r--r--tests/auto/client/nooutput/tst_nooutput.cpp3
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 b80a81780..788c1e8d9 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());