diff options
authorCarsten Haitzler (Rasterman) <>2020-07-20 14:32:12 +0100
committerCarsten Haitzler (Rasterman) <>2020-07-20 14:33:52 +0100
commit2a2da5254c8905922f4fe0840e855e3508846be8 (patch)
parenta931e418234bc567d725c79a9e4d0462e02fa5a7 (diff)
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
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)
4992 4992
4993 EINA_LIST_FOREACH(_elm_win_list, l, obj) 4993 EINA_LIST_FOREACH(_elm_win_list, l, obj)
4994 evas_object_smart_callback_call(obj, "ioerr", NULL); 4994 evas_object_smart_callback_call(obj, "ioerr", NULL);
4995 elm_exit(); 4995 fprintf(stderr, "X I/O Error - fatal. Exiting\n");
4996 exit(101);
4996} 4997}
4997#endif 4998#endif
4998 4999