summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2016-07-26 10:55:31 -0400
committerChris Michael <cp.michael@samsung.com>2016-07-26 10:55:31 -0400
commitacbba9b03be18bf9c90311abba8d538b42640601 (patch)
tree80e37472c8f472971bff52c050b51c81b58a0c23
parent5d9cb399112b3c7ded0c644f27de03a0a00d7d81 (diff)
ecore-wl2: Remove error message during connect/reconnect
Since session recovery can cause apps to constantly try and reconnect to the display server, we probably should not be filling logs here. On the other hand, any failures on first connect are now not going to display any error messages. Signed-off-by: Chris Michael <cp.michael@samsung.com>
-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 0df55f5..77f6b28 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);