diff --git a/clients/simple-egl.c b/clients/simple-egl.c index 78b42263..d8233c16 100644 --- a/clients/simple-egl.c +++ b/clients/simple-egl.c @@ -861,7 +861,7 @@ main(int argc, char **argv) wl_registry_add_listener(display.registry, ®istry_listener, &display); - wl_display_dispatch(display.display); + wl_display_roundtrip(display.display); init_egl(&display, &window); create_surface(&window);