summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Englund <tomenglund26@gmail.com>2025-07-11 14:30:37 +0200
committerVaxry <43317083+vaxerski@users.noreply.github.com>2025-07-11 17:51:04 +0200
commite589adb00db833d5e78fab20d76f94f8de035476 (patch)
tree1bc51159533de1146a48c976a021d0ffa2f04440 /src
parent523eed048e91da9b99c73a48f365ad52f11ae690 (diff)
config: remove render_ahead* config options
remove render_ahead* config options and descriptions. they are unusued.
Diffstat (limited to 'src')
-rw-r--r--src/config/ConfigDescriptions.hpp12
-rw-r--r--src/config/ConfigManager.cpp2
2 files changed, 0 insertions, 14 deletions
diff --git a/src/config/ConfigDescriptions.hpp b/src/config/ConfigDescriptions.hpp
index dc1da10f..0cf5d87b 100644
--- a/src/config/ConfigDescriptions.hpp
+++ b/src/config/ConfigDescriptions.hpp
@@ -1213,18 +1213,6 @@ inline static const std::vector<SConfigOptionDescription> CONFIG_OPTIONS = {
.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)",
.type = CONFIG_OPTION_BOOL,
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp
index 20a20e47..6154fcff 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});