move ignore to eventmanager and fix double focus in changeworkspace
This commit is contained in:
parent
ff49f22440
commit
4a3f9ccba2
4 changed files with 12 additions and 12 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue