From 3284dd729b3529e744a1c0db7d1c3ff1e296f7ea Mon Sep 17 00:00:00 2001 From: Thedudeman <108754421+RockClapps@users.noreply.github.com> Date: Thu, 5 Mar 2026 09:08:40 -0500 Subject: algo/scrolling: add config options for focus and swapcol wrapping (#13518) --- src/config/ConfigDescriptions.hpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/config/ConfigDescriptions.hpp') diff --git a/src/config/ConfigDescriptions.hpp b/src/config/ConfigDescriptions.hpp index ef6ca535..31d67c12 100644 --- a/src/config/ConfigDescriptions.hpp +++ b/src/config/ConfigDescriptions.hpp @@ -2093,6 +2093,18 @@ inline static const std::vector CONFIG_OPTIONS = { .type = CONFIG_OPTION_CHOICE, .data = SConfigOptionDescription::SChoiceData{.firstIndex = 0, .choices = "right,left,down,up"}, }, + SConfigOptionDescription{ + .value = "scrolling:wrap_focus", + .description = "Determines if column focus wraps around when going before the first column or past the last column", + .type = CONFIG_OPTION_BOOL, + .data = SConfigOptionDescription::SBoolData{.value = true}, + }, + SConfigOptionDescription{ + .value = "scrolling:wrap_swapcol", + .description = "Determines if column movement wraps around when moving to before the first column or past the last column", + .type = CONFIG_OPTION_BOOL, + .data = SConfigOptionDescription::SBoolData{.value = true}, + }, /* * Quirks -- cgit v1.2.3