Remove CHECK event
Not used
This commit is contained in:
parent
c89fc7f73b
commit
ba341f584e
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user