mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-29 18:45:58 +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,7 +1812,8 @@ void CConfigManager::loadConfigLoadVars() {
|
||||||
handlePluginLoads();
|
handlePluginLoads();
|
||||||
|
|
||||||
EMIT_HOOK_EVENT("configReloaded", nullptr);
|
EMIT_HOOK_EVENT("configReloaded", nullptr);
|
||||||
g_pEventManager->postEvent(SHyprIPCEvent{"configreloaded", ""});
|
if (g_pEventManager)
|
||||||
|
g_pEventManager->postEvent(SHyprIPCEvent{"configreloaded", ""});
|
||||||
}
|
}
|
||||||
|
|
||||||
void CConfigManager::tick() {
|
void CConfigManager::tick() {
|
||||||
|
|
Loading…
Reference in a new issue