tests: Don't use auto and manual configure together

The tests always send an explicit manual configure. This is important
because we want to test the client's first buffer is correct and this
comes after the first configure event.

Having auto configure enabled means it's racey and flakey between the
auto response on the compositor thread and the client dispatching a
manual repsonse.

Change-Id: I92170a2d96c01d01c22983e43ff1f1281b1a48a2
Reviewed-by: David Redondo <qt@david-redondo.de>
This commit is contained in:
David Edmundson 2024-05-07 13:09:08 +01:00
parent 24cd08a667
commit 38ac95c03b

View File

@ -111,7 +111,7 @@ public:
explicit XdgDecorationCompositor()
{
exec([this] {
m_config.autoConfigure = true;
m_config.autoConfigure = false;
add<XdgDecorationManagerV1>(xdgDecorationVersion);
});
}