Remove CHECK event

Not used
This commit is contained in:
patrick96 2021-09-11 12:28:21 +02:00 committed by Patrick Ziegler
parent c89fc7f73b
commit ba341f584e
2 changed files with 0 additions and 10 deletions

View File

@ -9,7 +9,6 @@ POLYBAR_NS
enum class event_type {
NONE = 0,
UPDATE,
CHECK,
QUIT,
};
@ -46,13 +45,6 @@ namespace {
inline event make_update_evt(bool force = false) {
return event{static_cast<int>(event_type::UPDATE), force};
}
/**
* Create CHECK event
*/
inline event make_check_evt() {
return event{static_cast<int>(event_type::CHECK)};
}
}
POLYBAR_NS_END

View File

@ -357,8 +357,6 @@ void controller::process_eventqueue() {
} else {
on(signals::eventqueue::exit_terminate{});
}
} else if (evt.type == event_type::CHECK) {
on(signals::eventqueue::check_state{});
} else {
m_log.warn("Unknown event type for enqueued event (%d)", evt.type);
}