mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-02 22:26:00 +01:00
config: don't emit reloaded event before eventManager is created
This commit is contained in:
parent
f771c10d1a
commit
ddf8e01c1e
1 changed files with 2 additions and 1 deletions
|
@ -1812,6 +1812,7 @@ void CConfigManager::loadConfigLoadVars() {
|
||||||
handlePluginLoads();
|
handlePluginLoads();
|
||||||
|
|
||||||
EMIT_HOOK_EVENT("configReloaded", nullptr);
|
EMIT_HOOK_EVENT("configReloaded", nullptr);
|
||||||
|
if (g_pEventManager)
|
||||||
g_pEventManager->postEvent(SHyprIPCEvent{"configreloaded", ""});
|
g_pEventManager->postEvent(SHyprIPCEvent{"configreloaded", ""});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue