From 3e502ff8d9aac2d5caf67293151bd710da07d0fc Mon Sep 17 00:00:00 2001 From: David Edmundson Date: Mon, 10 May 2021 00:02:44 +0100 Subject: [PATCH] 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 Reviewed-by: Eskil Abrahamsen Blomfeldt --- tests/auto/wayland/nooutput/tst_nooutput.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/auto/wayland/nooutput/tst_nooutput.cpp b/tests/auto/wayland/nooutput/tst_nooutput.cpp index b80a8178033..788c1e8d915 100644 --- a/tests/auto/wayland/nooutput/tst_nooutput.cpp +++ b/tests/auto/wayland/nooutput/tst_nooutput.cpp @@ -37,7 +37,7 @@ public: NoOutputCompositor() { exec([this] { removeAll(); }); - 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());