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

View file

@ -107,7 +107,7 @@ void CEventManager::startThread() {
void CEventManager::postEvent(const SHyprIPCEvent event) { void CEventManager::postEvent(const SHyprIPCEvent event) {
if (m_bIgnoreEvents) { 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; return;
} }
@ -116,4 +116,4 @@ void CEventManager::postEvent(const SHyprIPCEvent event) {
m_dQueuedEvents.push_back(ev); m_dQueuedEvents.push_back(ev);
eventQueueMutex.unlock(); eventQueueMutex.unlock();
}, event).detach(); }, event).detach();
} }