Not tested yet, but applies cleanly.
Lightly tested, no issues encountered.
The only time we want to dispatch events from the wayland socket is when
the application is waiting for external events. Doing so at any other
time will cause unpredictable behavior in client code.
This caused a crash downstream where we had outputs get altered whilst
itterating through outputs, which shouldn't happen.
There is no benefit to flushing here, it won't make anything appear
faster as we haven't attached the buffer yet.
Reviewed-by: Qt CI Bot <email@example.com>
Reviewed-by: Aleix Pol Gonzalez <firstname.lastname@example.org>
(cherry picked from commit 46ed85a80b28d519cf5887bbdce55d1bf57886c3