mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-03 05:31:59 -07:00
move ignore to eventmanager and fix double focus in changeworkspace
This commit is contained in:
@@ -105,6 +105,12 @@ void CEventManager::startThread() {
|
||||
}
|
||||
|
||||
void CEventManager::postEvent(const SHyprIPCEvent event) {
|
||||
|
||||
if (m_bIgnoreEvents) {
|
||||
Debug::log(WARN, "Suppressed (ignoreevents true) event of type %s, content: %s");
|
||||
return;
|
||||
}
|
||||
|
||||
std::thread([&](const SHyprIPCEvent ev) {
|
||||
eventQueueMutex.lock();
|
||||
m_dQueuedEvents.push_back(ev);
|
||||
|
Reference in New Issue
Block a user