Window switch, make pertinent changes to all workspace option

This commit is contained in:
DonO 2024-03-11 18:18:52 -05:00
parent 7513d6abc0
commit 9b9855cb53
3 changed files with 14 additions and 8 deletions

View file

@ -896,12 +896,9 @@ entry(xmlNode *node, char *nodename, char *content)
set_bool(content, &rc.window_switcher.outlines);
} else if (!strcasecmp(nodename, "allWorkspaces.windowSwitcher")) {
set_bool(content, &rc.window_switcher.allworkspaces);
if (parse_bool(content, -1) == true) {
if (rc.window_switcher.allworkspaces) {
rc.window_switcher.criteria &=
~LAB_VIEW_CRITERIA_CURRENT_WORKSPACE;
} else {
rc.window_switcher.criteria |=
LAB_VIEW_CRITERIA_CURRENT_WORKSPACE;
}
/* Remove this long term - just a friendly warning for now */