eventmanager: drop obsoleted ignore events flag (#2660)

This flag became obsoleted in commit
287e6c4ede
This commit is contained in:
Mykola Perehudov 2023-07-06 16:23:11 +03:00 committed by GitHub
parent bc34713b29
commit bbedb065e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 13 deletions

View file

@ -121,9 +121,9 @@ void CEventManager::flushEvents() {
eventQueueMutex.unlock();
}
void CEventManager::postEvent(const SHyprIPCEvent event, bool force) {
void CEventManager::postEvent(const SHyprIPCEvent event) {
if ((m_bIgnoreEvents && !force) || g_pCompositor->m_bIsShuttingDown) {
if (g_pCompositor->m_bIsShuttingDown) {
Debug::log(WARN, "Suppressed (ignoreevents true / shutting down) event of type %s, content: %s", event.event.c_str(), event.data.c_str());
return;
}