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,11 +300,13 @@ _recovery_timer_add(Ecore_Wl2_Display *ewd)
|
||||||
static void
|
static void
|
||||||
_begin_recovery_maybe(Ecore_Wl2_Display *ewd)
|
_begin_recovery_maybe(Ecore_Wl2_Display *ewd)
|
||||||
{
|
{
|
||||||
ERR("Wayland Socket Error: %s", strerror(errno));
|
|
||||||
if (ewd->wl.session_recovery)// && (errno == EPIPE))
|
if (ewd->wl.session_recovery)// && (errno == EPIPE))
|
||||||
_recovery_timer_add(ewd);
|
_recovery_timer_add(ewd);
|
||||||
else
|
else
|
||||||
_ecore_wl2_display_signal_exit();
|
{
|
||||||
|
ERR("Wayland Socket Error: %s", strerror(errno));
|
||||||
|
_ecore_wl2_display_signal_exit();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static Eina_Bool
|
static Eina_Bool
|
||||||
|
|
Loading…
Reference in New Issue