Make exceptions in X event handlers non-fatal

This commit is contained in:
patrick96 2022-03-20 20:08:03 +01:00 committed by Patrick Ziegler
parent d018adcf91
commit 9b7bfae33d

View File

@ -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);
} }
} }