mirror of
https://github.com/hyprwm/Hyprland
synced 2026-05-07 06:58:04 +02:00
config: move misc:vfr to debug: (#14021)
this is a debug-only option and should never be turned off
This commit is contained in:
parent
b6e9c930b8
commit
10c8a863d2
3 changed files with 8 additions and 8 deletions
|
|
@ -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});
|
||||
|
|
|
|||
|
|
@ -1278,12 +1278,6 @@ namespace Config::Supplementary {
|
|||
.type = CONFIG_OPTION_INT,
|
||||
.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]",
|
||||
|
|
@ -1901,6 +1895,12 @@ namespace Config::Supplementary {
|
|||
.type = CONFIG_OPTION_BOOL,
|
||||
.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.",
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue