diff --git a/src/bin/engine_wayland_egl.c b/src/bin/engine_wayland_egl.c index 51f8fbe..bce50ba 100644 --- a/src/bin/engine_wayland_egl.c +++ b/src/bin/engine_wayland_egl.c @@ -51,6 +51,12 @@ engine_wayland_egl_args(const char *engine __UNUSED__, int width __UNUSED__, int } wl.display = wl_display_connect(NULL); + if (!wl.display) + { + printf("Expedite cannot connect to wayland display\n"); + return EINA_FALSE; + } + wl.registry = wl_display_get_registry(wl.display); wl_registry_add_listener(wl.registry, &_registry_listener, NULL); wl_display_roundtrip(wl.display);