tests/screen-cast-client: Fix expected order of events

We expect to first enter the 'streaming' state, and then receive a
buffer, not the other way around.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4065>
This commit is contained in:
Jonas Ådahl 2024-10-02 16:36:02 +02:00 committed by Marge Bot
parent a02aa42a9f
commit b78eda1b73

View File

@ -773,8 +773,8 @@ main (int argc,
/* Check that we receive the initial frame */
g_debug ("Waiting for stream to be established");
stream_wait_for_node (stream);
stream_wait_for_render (stream);
stream_wait_for_streaming (stream);
stream_wait_for_render (stream);
session_notify_absolute_pointer (session, stream, 6, 5);
session_notify_absolute_pointer (session, stream, 5, 6);