diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2026-04-07 09:15:29 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-07 14:15:29 +0100 |
| commit | 10c8a863d271dac1c51af73e0e7fb23784b6c13d (patch) | |
| tree | 9aff412afe1072b9cd3bc99a3cb421f55a3b5e44 /src | |
| parent | b6e9c930b8b413bb8061342d3792b752cee145c5 (diff) | |
config: move misc:vfr to debug: (#14021)
this is a debug-only option and should never be turned off
Diffstat (limited to 'src')
| -rw-r--r-- | src/config/legacy/ConfigManager.cpp | 2 | ||||
| -rw-r--r-- | src/config/supplementary/ConfigDescriptions.hpp | 12 | ||||
| -rw-r--r-- | src/render/Renderer.cpp | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/src/config/legacy/ConfigManager.cpp b/src/config/legacy/ConfigManager.cpp index 9da42c4f..a1ab4e1c 100644 --- a/src/config/legacy/ConfigManager.cpp +++ b/src/config/legacy/ConfigManager.cpp @@ -504,7 +504,6 @@ CConfigManager::CConfigManager() { registerConfigVar("misc:splash_font_family", {STRVAL_EMPTY}); registerConfigVar("misc:font_family", {"Sans"}); registerConfigVar("misc:force_default_wallpaper", Hyprlang::INT{-1}); - registerConfigVar("misc:vfr", Hyprlang::INT{1}); registerConfigVar("misc:vrr", Hyprlang::INT{0}); registerConfigVar("misc:mouse_move_enables_dpms", Hyprlang::INT{0}); registerConfigVar("misc:key_press_enables_dpms", Hyprlang::INT{0}); @@ -579,6 +578,7 @@ CConfigManager::CConfigManager() { registerConfigVar("debug:log_damage", Hyprlang::INT{0}); registerConfigVar("debug:overlay", Hyprlang::INT{0}); registerConfigVar("debug:damage_blink", Hyprlang::INT{0}); + registerConfigVar("debug:vfr", Hyprlang::INT{1}); registerConfigVar("debug:pass", Hyprlang::INT{0}); registerConfigVar("debug:gl_debugging", Hyprlang::INT{0}); registerConfigVar("debug:disable_logs", Hyprlang::INT{1}); diff --git a/src/config/supplementary/ConfigDescriptions.hpp b/src/config/supplementary/ConfigDescriptions.hpp index c6b46b9b..f02dac0a 100644 --- a/src/config/supplementary/ConfigDescriptions.hpp +++ b/src/config/supplementary/ConfigDescriptions.hpp @@ -1279,12 +1279,6 @@ namespace Config::Supplementary { .data = SConfigOptionDescription::SRangeData{-1, -1, 2}, }, SConfigOptionDescription{ - .value = "misc:vfr", - .description = "controls the VFR status of Hyprland. Heavily recommended to leave enabled to conserve resources.", - .type = CONFIG_OPTION_BOOL, - .data = SConfigOptionDescription::SBoolData{true}, - }, - SConfigOptionDescription{ .value = "misc:vrr", .description = " controls the VRR (Adaptive Sync) of your monitors. 0 - off, 1 - on, 2 - fullscreen only, 3 - fullscreen with game or video content type [0/1/2/3]", .type = CONFIG_OPTION_INT, @@ -1902,6 +1896,12 @@ namespace Config::Supplementary { .data = SConfigOptionDescription::SBoolData{false}, }, SConfigOptionDescription{ + .value = "debug:vfr", + .description = "controls the VFR status of Hyprland. Do not turn off unless debugging.", + .type = CONFIG_OPTION_BOOL, + .data = SConfigOptionDescription::SBoolData{true}, + }, + SConfigOptionDescription{ .value = "debug:gl_debugging", .description = "enable OpenGL debugging and error checking, they hurt performance.", .type = CONFIG_OPTION_BOOL, diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index d3237970..290b2633 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -1879,7 +1879,7 @@ void IHyprRenderer::renderMonitor(PHLMONITOR pMonitor, bool commit) { static auto PDAMAGETRACKINGMODE = CConfigValue<Hyprlang::INT>("debug:damage_tracking"); static auto PDAMAGEBLINK = CConfigValue<Hyprlang::INT>("debug:damage_blink"); static auto PSOLDAMAGE = CConfigValue<Hyprlang::INT>("debug:render_solitary_wo_damage"); - static auto PVFR = CConfigValue<Hyprlang::INT>("misc:vfr"); + static auto PVFR = CConfigValue<Hyprlang::INT>("debug:vfr"); static int damageBlinkCleanup = 0; // because double-buffered |
