summaryrefslogtreecommitdiff
path: root/src/bin/engine_wayland_egl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/engine_wayland_egl.c')
-rw-r--r--src/bin/engine_wayland_egl.c6
1 files changed, 6 insertions, 0 deletions
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
51 } 51 }
52 52
53 wl.display = wl_display_connect(NULL); 53 wl.display = wl_display_connect(NULL);
54 if (!wl.display)
55 {
56 printf("Expedite cannot connect to wayland display\n");
57 return EINA_FALSE;
58 }
59
54 wl.registry = wl_display_get_registry(wl.display); 60 wl.registry = wl_display_get_registry(wl.display);
55 wl_registry_add_listener(wl.registry, &_registry_listener, NULL); 61 wl_registry_add_listener(wl.registry, &_registry_listener, NULL);
56 wl_display_roundtrip(wl.display); 62 wl_display_roundtrip(wl.display);