forked from enlightenment/efl
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>
This commit is contained in:
parent
5d9cb39911
commit
acbba9b03b
|
@ -418,11 +418,7 @@ _ecore_wl2_display_connect(Ecore_Wl2_Display *ewd, Eina_Bool sync)
|
|||
|
||||
/* try to connect to wayland display with this name */
|
||||
ewd->wl.display = wl_display_connect(ewd->name);
|
||||
if (!ewd->wl.display)
|
||||
{
|
||||
ERR("Could not connect to display %s", ewd->name);
|
||||
return EINA_FALSE;
|
||||
}
|
||||
if (!ewd->wl.display) return EINA_FALSE;
|
||||
|
||||
ewd->wl.registry = wl_display_get_registry(ewd->wl.display);
|
||||
wl_registry_add_listener(ewd->wl.registry, &_registry_listener, ewd);
|
||||
|
|
Loading…
Reference in New Issue