This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository enlightenment.
View the commit online.
commit 435bc3f218b4cedffbd82ccffd950cb8debd0f5d
Author: Carsten Haitzler <ras...@rasterman.com>
AuthorDate: Sat Jul 12 13:15:07 2025 +0100
if display still there on x io error restart like watchdog problem
---
src/bin/e_main.c | 5 +++++
src/bin/e_start_main.c | 6 ++++++
2 files changed, 11 insertions(+)
diff --git a/src/bin/e_main.c b/src/bin/e_main.c
index 7d9c7d566..9fa288f46 100644
--- a/src/bin/e_main.c
+++ b/src/bin/e_main.c
@@ -1336,6 +1336,11 @@ _e_main_parse_arguments(int argc, char **argv)
EINTERN void
_e_main_cb_x_fatal(void *data EINA_UNUSED)
{
+ if (ecore_x_io_error_display_still_there_get())
+ {
+ fprintf(stderr, "X I/O Error but display is still there. Restart.\n");
+ exit(122); // like watchdog - restart but due to bad things
+ }
fprintf(stderr, "X I/O Error - fatal. Exiting.\n");
exit(101);
}
diff --git a/src/bin/e_start_main.c b/src/bin/e_start_main.c
index 96c292dff..bac03da03 100644
--- a/src/bin/e_start_main.c
+++ b/src/bin/e_start_main.c
@@ -816,6 +816,12 @@ not_done:
restart = EINA_TRUE;
done = EINA_TRUE;
}
+ else if (WEXITSTATUS(status) == 122)
+ {
+ putenv("E_RESTART_OK=1");
+ restart = EINA_TRUE;
+ done = EINA_TRUE;
+ }
else if (WEXITSTATUS(status) == 121)
{
putenv("E_RESTART_OK=1");
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.