summaryrefslogtreecommitdiff
path: root/src/config/lua/ConfigManager.cpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2026-05-06 20:55:29 +0100
committerVaxry <43317083+vaxerski@users.noreply.github.com>2026-05-06 21:46:23 +0100
commitae0eeea114a87ab3fa29d8abe14bdbcf556ddee1 (patch)
tree0d964eb91c536a762ea46b5a825cebdd6d1c8302 /src/config/lua/ConfigManager.cpp
parent336dc6c04e5bd0b1ebeadab81970da6367345f4f (diff)
config: fix propRefresher to not run on first launch
Diffstat (limited to 'src/config/lua/ConfigManager.cpp')
-rw-r--r--src/config/lua/ConfigManager.cpp42
1 files changed, 1 insertions, 41 deletions
diff --git a/src/config/lua/ConfigManager.cpp b/src/config/lua/ConfigManager.cpp
index 0dd96200..0f0c1030 100644
--- a/src/config/lua/ConfigManager.cpp
+++ b/src/config/lua/ConfigManager.cpp
@@ -488,16 +488,6 @@ void CConfigManager::postConfigReload() {
w->uncacheWindowDecos();
}
- // Update the keyboard layout to the cfg'd one if this is not the first launch
- if (!m_isFirstLaunch) {
- g_pInputManager->setKeyboardLayout();
- g_pInputManager->setPointerConfigs();
- g_pInputManager->setTouchDeviceConfigs();
- g_pInputManager->setTabletConfigs();
-
- g_pHyprRenderer->m_reloadScreenShader = true;
- }
-
const bool emergencyModeTripped = !m_errors.empty() && g_pKeybindManager->m_keybinds.empty();
if (emergencyModeTripped)
@@ -557,18 +547,6 @@ void CConfigManager::postConfigReload() {
g_pCompositor->m_wantsXwayland = *PXWAYLAND;
#endif
- if (!m_isFirstLaunch && !g_pCompositor->m_unsafeState)
- refreshGroupBarGradients();
-
- for (auto const& w : g_pCompositor->getWorkspaces()) {
- if (w->inert())
- continue;
- w->updateWindows();
- w->updateWindowData();
- }
-
- g_pCompositor->updateAllWindowsAnimatedDecorationValues();
-
if (*PMANUALCRASH && !m_manualCrashInitiated) {
m_manualCrashInitiated = true;
Notification::overlay()->addNotification("Manual crash has been set up. Set debug.manual_crash back to 0 in order to crash the compositor.", CHyprColor(0), 5000,
@@ -582,28 +560,10 @@ void CConfigManager::postConfigReload() {
if (disableStdout && m_isFirstLaunch)
Log::logger->log(Log::DEBUG, "Disabling stdout logs! Check the log for further logs.");
- for (auto const& m : g_pCompositor->m_monitors) {
- // mark blur dirty
- m->m_blurFBDirty = true;
-
- g_pCompositor->scheduleFrameForMonitor(m);
-
- // Force the compositor to fully re-render all monitors
- m->m_forceFullFrames = 2;
-
- // also force mirrors, as the aspect ratio could've changed
- for (auto const& mirror : m->m_mirrors)
- mirror->m_forceFullFrames = 3;
- }
-
handlePluginLoads();
if (!m_isFirstLaunch)
- g_pCompositor->ensurePersistentWorkspacesPresent();
-
- 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)