Errors covered by xcb_connection_has_error() are said to be unrecoverable, so the connection has been closed if it returns true. I have looked at the source for xcb_connection_has _error and the overall cost of this check is negligible. This should ensure bar shuts down when the connection is closed and take care of https://github.com/LemonBoy/bar/issues/94.
Errors covered by xcb_connection_has_error() are said to be unrecoverable, so the connection has been closed if it returns true. I have looked at the source for xcb_connection_has _error and the overall cost of this check is negligible. This should ensure bar shuts down when the connection is closed and take care of https://github.com/LemonBoy/bar/issues/94.