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>
This commit is contained in:
parent
b9a1fb393d
commit
3e502ff8d9
@ -37,7 +37,7 @@ public:
|
|||||||
NoOutputCompositor()
|
NoOutputCompositor()
|
||||||
{
|
{
|
||||||
exec([this] { removeAll<Output>(); });
|
exec([this] { removeAll<Output>(); });
|
||||||
m_config.autoConfigure = true;
|
m_config.autoConfigure = false;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -68,6 +68,7 @@ void tst_nooutput::noScreens()
|
|||||||
|
|
||||||
exec([=] {
|
exec([=] {
|
||||||
xdgToplevel()->sendConfigure({0, 0}, {}); // Let the window decide the size
|
xdgToplevel()->sendConfigure({0, 0}, {}); // Let the window decide the size
|
||||||
|
xdgSurface()->sendConfigure(nextSerial());
|
||||||
});
|
});
|
||||||
|
|
||||||
QTRY_VERIFY(window.isExposed());
|
QTRY_VERIFY(window.isExposed());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user