mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-09 08:31:54 -07:00
Merge pull request #245 from taylor85345/main
Fixed crash on movetoworkspacesilent
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user