summaryrefslogtreecommitdiff
path: root/src/config/ConfigManager.cpp
diff options
context:
space:
mode:
authorvaxerski <vaxry@vaxry.net>2025-01-14 17:52:19 +0100
committervaxerski <vaxry@vaxry.net>2025-01-14 17:52:32 +0100
commit25add26881d7b98d2b80eb7a95d3aee0449b72b9 (patch)
tree95f71cc8df8552cea932d6260dba9d3598f28b50 /src/config/ConfigManager.cpp
parentf16f170433540d85cf672217bca2d64c6db9eb01 (diff)
renderer: unload background texture if it's disabled
ref #9031
Diffstat (limited to 'src/config/ConfigManager.cpp')
-rw-r--r--src/config/ConfigManager.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp
index 60723220..17957899 100644
--- a/src/config/ConfigManager.cpp
+++ b/src/config/ConfigManager.cpp
@@ -899,11 +899,12 @@ void CConfigManager::postConfigReload(const Hyprlang::CParseResult& result) {
g_pInputManager->setPointerConfigs();
g_pInputManager->setTouchDeviceConfigs();
g_pInputManager->setTabletConfigs();
- }
- if (!isFirstLaunch)
g_pHyprOpenGL->m_bReloadScreenShader = true;
+ g_pHyprOpenGL->ensureBackgroundTexturePresence();
+ }
+
// parseError will be displayed next frame
if (result.error)