diff options
| author | Pavel Belyavsky <work.belyavsky.p.a@gmail.com> | 2024-12-10 23:55:05 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-10 21:55:05 +0100 |
| commit | 4d05677e8d398b6fa144eae7a98ad4f2a54acb92 (patch) | |
| tree | 0f3e8e90dfc3dabcb40992609f17186f94258574 /src/config/ConfigDescriptions.hpp | |
| parent | c16044a5c88ce9a42987b849068a66c11873575d (diff) | |
config: add 'force' option for 'cursor:warp_on_change_workspace' (#8681)
* config: add 'force' option for 'cursor:warp_on_change_workspace'
* manager: throw the expression into the function arguments
* config: fix description of `cursor:warp_on_change_workspace`
Diffstat (limited to 'src/config/ConfigDescriptions.hpp')
| -rw-r--r-- | src/config/ConfigDescriptions.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/config/ConfigDescriptions.hpp b/src/config/ConfigDescriptions.hpp index a1d4858c..a9ac223a 100644 --- a/src/config/ConfigDescriptions.hpp +++ b/src/config/ConfigDescriptions.hpp @@ -1339,9 +1339,9 @@ inline static const std::vector<SConfigOptionDescription> CONFIG_OPTIONS = { }, SConfigOptionDescription{ .value = "cursor:warp_on_change_workspace", - .description = "If true, move the cursor to the last focused window after changing the workspace.", - .type = CONFIG_OPTION_BOOL, - .data = SConfigOptionDescription::SBoolData{false}, + .description = "Move the cursor to the last focused window after changing the workspace. Options: 0 (Disabled), 1 (Enabled), 2 (Force - ignores cursor:no_warps option)", + .type = CONFIG_OPTION_CHOICE, + .data = SConfigOptionDescription::SChoiceData{0, "Disabled,Enabled,Force"}, }, SConfigOptionDescription{ .value = "cursor:default_monitor", |
