We now only log an error but do not exit when creating the graphics
context fails. While, if this happens, rendering will likely be wrong,
this is still better than terminating the user's session entirely due
to a rendering problem, potentially causing data loss.
relates to #2094
xcb_generic_error_t *error = xcb_request_check(conn, gc_cookie);
if (error != NULL) {
- ELOG("Could not create graphical context. Error code: %d\n", error->error_code);
- exit(EXIT_FAILURE);
+ ELOG("Could not create graphical context. Error code: %d. Please report this bug.\n", error->error_code);
}
#ifdef CAIRO_SUPPORT