eventmanager: drop obsoleted ignore events flag (#2660)

This flag became obsoleted in commit
287e6c4ede
This commit is contained in:
Mykola Perehudov
2023-07-06 16:23:11 +03:00
committed by GitHub
parent bc34713b29
commit bbedb065e1
4 changed files with 10 additions and 13 deletions

View File

@@ -36,7 +36,7 @@ CWorkspace::CWorkspace(int monitorID, std::string name, bool special) {
m_vRenderOffset.registerVar();
m_fAlpha.registerVar();
g_pEventManager->postEvent({"createworkspace", m_szName}, true);
g_pEventManager->postEvent({"createworkspace", m_szName});
EMIT_HOOK_EVENT("createWorkspace", this);
}
@@ -51,7 +51,7 @@ CWorkspace::~CWorkspace() {
m_pWlrHandle = nullptr;
}
g_pEventManager->postEvent({"destroyworkspace", m_szName}, true);
g_pEventManager->postEvent({"destroyworkspace", m_szName});
EMIT_HOOK_EVENT("destroyWorkspace", this);
}