dispatchers: Add option to center the cursor on the focused window when switching workspaces (#3528)

* Add option for centering on workspace when switching workspace

* Add option for centering on workspace when switching workspace

---------

Co-authored-by: vaxerski <43317083+vaxerski@users.noreply.github.com>
This commit is contained in:
Philip Damianik
2023-10-10 18:34:28 +02:00
committed by GitHub
parent 8abb6e1cee
commit ac1bd47653
2 changed files with 9 additions and 3 deletions

View File

@@ -232,6 +232,7 @@ void CConfigManager::setDefaultVars() {
configValues["binds:scroll_event_delay"].intValue = 300;
configValues["binds:workspace_back_and_forth"].intValue = 0;
configValues["binds:allow_workspace_cycles"].intValue = 0;
configValues["binds:workspace_center_on"].intValue = 1;
configValues["binds:focus_preferred_method"].intValue = 0;
configValues["binds:ignore_group_lock"].intValue = 0;