feat: add comboview dispatch

This commit is contained in:
DreamMaoMao committed 2025-09-25 10:28:59 +08:00
1 parent 6947ed3d3c
commit 2a11357ead
4 files changed
+24

No files matched your search

+3
View File
@@ -836,6 +836,9 @@ FuncType parse_func_name(char *func_name, Arg *arg, char *arg_value,
} else if (strcmp(func_name, "toggleview") == 0) {
func = toggleview;
(*arg).ui = 1 << (atoi(arg_value) - 1);
} else if (strcmp(func_name, "comboview") == 0) {
func = comboview;
(*arg).ui = 1 << (atoi(arg_value) - 1);
} else if (strcmp(func_name, "smartmovewin") == 0) {
func = smartmovewin;
(*arg).i = parse_direction(arg_value);