From a935e4f9853f4ec3a4bd3dbca149115648d325a7 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Sun, 17 Apr 2022 11:50:59 +0200 Subject: [PATCH] Disable damage tracking by default --- example/hyprland.conf | 2 ++ src/config/ConfigManager.cpp | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/example/hyprland.conf b/example/hyprland.conf index a698f3ab..b1e866b5 100644 --- a/example/hyprland.conf +++ b/example/hyprland.conf @@ -26,6 +26,8 @@ general { border_size=2 col.active_border=0x66ee1111 col.inactive_border=0x66333333 + + damage_tracking=none # experimental, might have bugs! } decoration { diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index 18c78b8f..d2c97158 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -16,8 +16,8 @@ CConfigManager::CConfigManager() { configValues["general:main_mod"].strValue = "SUPER"; // exposed to the user for easier configuring configValues["general:main_mod_internal"].intValue = g_pKeybindManager->stringToModMask("SUPER"); // actually used and automatically calculated - configValues["general:damage_tracking"].strValue = "full"; - configValues["general:damage_tracking_internal"].intValue = DAMAGE_TRACKING_FULL; + configValues["general:damage_tracking"].strValue = "none"; + configValues["general:damage_tracking_internal"].intValue = DAMAGE_TRACKING_NONE; configValues["general:border_size"].intValue = 1; configValues["general:gaps_in"].intValue = 5;