Details
-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.15.19, 6.8.0
-
None
Description
0b1ce5db9e04b4c28713e87306fcea020c3e428b introduced an unconditional call to exit() in case the xcb connection hast some error. It would be nice if the application were given some chance to cleanup or to e.g. save internal state before exiting.
void QXcbConnection::processXcbEvents() { int connection_error = xcb_connection_has_error(xcb_connection()); if (connection_error) { qWarning("The X11 connection broke (error %d). Did the X11 server die?", connection_error); exit(1); } [...] }