Merge pull request #245 from taylor85345/main

Fixed crash on movetoworkspacesilent
This commit is contained in:
vaxerski 2022-06-22 00:14:36 +01:00 committed by GitHub
commit d614fa895e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -107,7 +107,7 @@ void CEventManager::startThread() {
void CEventManager::postEvent(const SHyprIPCEvent event) {
if (m_bIgnoreEvents) {
Debug::log(WARN, "Suppressed (ignoreevents true) event of type %s, content: %s");
Debug::log(WARN, "Suppressed (ignoreevents true) event of type %s, content: %s",event.event.c_str(), event.data.c_str());
return;
}
@ -116,4 +116,4 @@ void CEventManager::postEvent(const SHyprIPCEvent event) {
m_dQueuedEvents.push_back(ev);
eventQueueMutex.unlock();
}, event).detach();
}
}