diff options
| author | Vaxry <vaxry@vaxry.net> | 2026-05-06 20:55:29 +0100 |
|---|---|---|
| committer | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2026-05-06 21:46:23 +0100 |
| commit | ae0eeea114a87ab3fa29d8abe14bdbcf556ddee1 (patch) | |
| tree | 0d964eb91c536a762ea46b5a825cebdd6d1c8302 /src/config/legacy/ConfigManager.cpp | |
| parent | 336dc6c04e5bd0b1ebeadab81970da6367345f4f (diff) | |
config: fix propRefresher to not run on first launch
Diffstat (limited to 'src/config/legacy/ConfigManager.cpp')
| -rw-r--r-- | src/config/legacy/ConfigManager.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/config/legacy/ConfigManager.cpp b/src/config/legacy/ConfigManager.cpp index bbb63daf..566cabb7 100644 --- a/src/config/legacy/ConfigManager.cpp +++ b/src/config/legacy/ConfigManager.cpp @@ -1013,9 +1013,6 @@ void CConfigManager::postConfigReload(const Hyprlang::CParseResult& result) { g_pCompositor->m_wantsXwayland = PENABLEXWAYLAND; #endif - if (!m_isFirstLaunch && !g_pCompositor->m_unsafeState) - refreshGroupBarGradients(); - // Updates dynamic window and workspace rules for (auto const& w : g_pCompositor->getWorkspaces()) { if (w->inert()) @@ -1058,14 +1055,8 @@ void CConfigManager::postConfigReload(const Hyprlang::CParseResult& result) { // update plugins handlePluginLoads(); - // update persistent workspaces if (!m_isFirstLaunch) - g_pCompositor->ensurePersistentWorkspacesPresent(); - - // update layouts - Layout::Supplementary::algoMatcher()->updateWorkspaceLayouts(); - - Config::Supplementary::refresher()->scheduleRefresh(Supplementary::REFRESH_ALL); + Config::Supplementary::refresher()->scheduleRefresh(Supplementary::REFRESH_ALL); Event::bus()->m_events.config.reloaded.emit(); if (g_pEventManager) |
