forked from enlightenment/efl
win - x io errors really just have to exit, so call the iorr cb + exit
from xlib man page: The XSetIOErrorHandler sets the fatal I/O error handler. Xlib calls the program's supplied error handler if any sort of system call error occurs (for example, the connection to the server was lost). This is assumed to be a fatal condition, and the called routine should not re‐ turn. If the I/O error handler does return, the client process exits. @fix
This commit is contained in:
parent
a931e41823
commit
2a2da5254c
|
@ -4992,7 +4992,8 @@ _elm_x_io_err(void *data EINA_UNUSED)
|
|||
|
||||
EINA_LIST_FOREACH(_elm_win_list, l, obj)
|
||||
evas_object_smart_callback_call(obj, "ioerr", NULL);
|
||||
elm_exit();
|
||||
fprintf(stderr, "X I/O Error - fatal. Exiting\n");
|
||||
exit(101);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue