forked from enlightenment/efl
ecore-wl2: only print socket ERR messages when not attempting to reconnect
reduces spamming in logs
This commit is contained in:
parent
8a5abfbfc3
commit
037a3916bc
|
@ -300,12 +300,14 @@ _recovery_timer_add(Ecore_Wl2_Display *ewd)
|
|||
static void
|
||||
_begin_recovery_maybe(Ecore_Wl2_Display *ewd)
|
||||
{
|
||||
ERR("Wayland Socket Error: %s", strerror(errno));
|
||||
if (ewd->wl.session_recovery)// && (errno == EPIPE))
|
||||
_recovery_timer_add(ewd);
|
||||
else
|
||||
{
|
||||
ERR("Wayland Socket Error: %s", strerror(errno));
|
||||
_ecore_wl2_display_signal_exit();
|
||||
}
|
||||
}
|
||||
|
||||
static Eina_Bool
|
||||
_cb_connect_data(void *data, Ecore_Fd_Handler *hdl)
|
||||
|
|
Loading…
Reference in New Issue