diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2020-07-20 14:32:12 +0100 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2020-07-20 14:33:52 +0100 |
commit | 2a2da5254c8905922f4fe0840e855e3508846be8 (patch) | |
tree | cce87819d070d2b2e60ae16d400e7d20937819c0 | |
parent | a931e418234bc567d725c79a9e4d0462e02fa5a7 (diff) | |
download | efl-2a2da5254c8905922f4fe0840e855e3508846be8.tar.gz |
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
-rw-r--r-- | src/lib/elementary/efl_ui_win.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c index ab84ac590e..1b6f4deac5 100644 --- a/src/lib/elementary/efl_ui_win.c +++ b/src/lib/elementary/efl_ui_win.c @@ -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 |