Make exceptions in X event handlers non-fatal
This commit is contained in:
parent
d018adcf91
commit
9b7bfae33d
@ -180,7 +180,6 @@ void controller::conn_cb() {
|
|||||||
} catch (const exception& err) {
|
} catch (const exception& err) {
|
||||||
// IDs for events are defined in xproto.h
|
// IDs for events are defined in xproto.h
|
||||||
m_log.err("Error in X event loop while handling event %d: %s", evt->response_type, err.what());
|
m_log.err("Error in X event loop while handling event %d: %s", evt->response_type, err.what());
|
||||||
stop(false);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user