summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wl2/ecore_wl2_display.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_wl2/ecore_wl2_display.c')
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_display.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2_display.c b/src/lib/ecore_wl2/ecore_wl2_display.c
index 0df55f519d..77f6b2853d 100644
--- a/src/lib/ecore_wl2/ecore_wl2_display.c
+++ b/src/lib/ecore_wl2/ecore_wl2_display.c
@@ -418,11 +418,7 @@ _ecore_wl2_display_connect(Ecore_Wl2_Display *ewd, Eina_Bool sync)
418 418
419 /* try to connect to wayland display with this name */ 419 /* try to connect to wayland display with this name */
420 ewd->wl.display = wl_display_connect(ewd->name); 420 ewd->wl.display = wl_display_connect(ewd->name);
421 if (!ewd->wl.display) 421 if (!ewd->wl.display) return EINA_FALSE;
422 {
423 ERR("Could not connect to display %s", ewd->name);
424 return EINA_FALSE;
425 }
426 422
427 ewd->wl.registry = wl_display_get_registry(ewd->wl.display); 423 ewd->wl.registry = wl_display_get_registry(ewd->wl.display);
428 wl_registry_add_listener(ewd->wl.registry, &_registry_listener, ewd); 424 wl_registry_add_listener(ewd->wl.registry, &_registry_listener, ewd);