Commit 3c6e4ac0 authored by David Edmundson's avatar David Edmundson
Browse files

[autotests/client] Set event queue on registry

Summary: Otherwise events are dispatched from the wrong thread.

Test Plan: Let's see if Jenkins to see if it hits that race condition again

Reviewers: #kwin

Subscribers: kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D28263
parent dcf03ad2
......@@ -510,6 +510,7 @@ void TestWaylandSurface::testMultipleSurfaces()
using namespace KWayland::Client;
using namespace KWayland::Server;
Registry registry;
registry.setEventQueue(m_queue);
QSignalSpy shmSpy(&registry, SIGNAL(shmAnnounced(quint32,quint32)));
registry.create(m_connection->display());
QVERIFY(registry.isValid());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment