From e589adb00db833d5e78fab20d76f94f8de035476 Mon Sep 17 00:00:00 2001 From: Tom Englund Date: Fri, 11 Jul 2025 14:30:37 +0200 Subject: [PATCH] config: remove render_ahead* config options remove render_ahead* config options and descriptions. they are unusued. --- src/config/ConfigDescriptions.hpp | 12 ------------ src/config/ConfigManager.cpp | 2 -- 2 files changed, 14 deletions(-) diff --git a/src/config/ConfigDescriptions.hpp b/src/config/ConfigDescriptions.hpp index dc1da10f9..0cf5d87b7 100644 --- a/src/config/ConfigDescriptions.hpp +++ b/src/config/ConfigDescriptions.hpp @@ -1212,18 +1212,6 @@ inline static const std::vector CONFIG_OPTIONS = { .type = CONFIG_OPTION_BOOL, .data = SConfigOptionDescription::SBoolData{true}, }, - SConfigOptionDescription{ - .value = "misc:render_ahead_of_time", - .description = "[Warning: buggy] starts rendering before your monitor displays a frame in order to lower latency", - .type = CONFIG_OPTION_BOOL, - .data = SConfigOptionDescription::SBoolData{false}, - }, - SConfigOptionDescription{ - .value = "misc:render_ahead_safezone", - .description = "how many ms of safezone to add to rendering ahead of time. Recommended 1-2.", - .type = CONFIG_OPTION_INT, - .data = SConfigOptionDescription::SRangeData{1, 1, 10}, - }, SConfigOptionDescription{ .value = "misc:allow_session_lock_restore", .description = "if true, will allow you to restart a lockscreen app in case it crashes (red screen of death)", diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index 20a20e47f..6154fcff5 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -483,8 +483,6 @@ CConfigManager::CConfigManager() { registerConfigVar("misc:swallow_exception_regex", {STRVAL_EMPTY}); registerConfigVar("misc:focus_on_activate", Hyprlang::INT{0}); registerConfigVar("misc:mouse_move_focuses_monitor", Hyprlang::INT{1}); - registerConfigVar("misc:render_ahead_of_time", Hyprlang::INT{0}); - registerConfigVar("misc:render_ahead_safezone", Hyprlang::INT{1}); registerConfigVar("misc:allow_session_lock_restore", Hyprlang::INT{0}); registerConfigVar("misc:close_special_on_empty", Hyprlang::INT{1}); registerConfigVar("misc:background_color", Hyprlang::INT{0xff111111});