mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 06:05:59 +01:00
feat: add debug:enable_stdout_logs
This commit is contained in:
parent
a80f8f257f
commit
70e3cb8151
1 changed files with 10 additions and 7 deletions
|
@ -95,6 +95,7 @@ void CConfigManager::setDefaultVars() {
|
|||
configValues["debug:damage_blink"].intValue = 0;
|
||||
configValues["debug:disable_logs"].intValue = 0;
|
||||
configValues["debug:disable_time"].intValue = 1;
|
||||
configValues["debug:enable_stdout_logs"].intValue = 0;
|
||||
configValues["debug:damage_tracking"].intValue = DAMAGE_TRACKING_FULL;
|
||||
|
||||
configValues["decoration:rounding"].intValue = 0;
|
||||
|
@ -1396,6 +1397,8 @@ void CConfigManager::loadConfigLoadVars() {
|
|||
// update layout
|
||||
g_pLayoutManager->switchToLayout(configValues["general:layout"].strValue);
|
||||
|
||||
Debug::disableStdout = !configValues["debug:enable_stdout_logs"].intValue;
|
||||
|
||||
for (auto& m : g_pCompositor->m_vMonitors) {
|
||||
// mark blur dirty
|
||||
g_pHyprOpenGL->markBlurDirtyForMonitor(m.get());
|
||||
|
|
Loading…
Reference in a new issue