animations: Add option for animating workspaces as if the first and last were adjacent (#10277)

* add option for animating workspaces as if the first and last were adjacent

* change wraparound detection to use IDs instead of dispatcher

* move shouldWraparound from MiscFunctions to Monitor
This commit is contained in:
CyrenArkade
2025-05-05 20:54:27 -05:00
committed by GitHub
parent 930eeac900
commit 1ce614dfc0
3 changed files with 27 additions and 1 deletions

View File

@@ -372,6 +372,12 @@ inline static const std::vector<SConfigOptionDescription> CONFIG_OPTIONS = {
.type = CONFIG_OPTION_BOOL,
.data = SConfigOptionDescription::SBoolData{true},
},
SConfigOptionDescription{
.value = "animations:workspace_wraparound",
.description = "changes the direction of slide animations between the first and last workspaces",
.type = CONFIG_OPTION_BOOL,
.data = SConfigOptionDescription::SBoolData{true},
},
/*
* input: