This commit is contained in:
Eslam Mohamed 2026-03-22 22:42:58 +00:00 committed by GitHub
commit 3bea272ae8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 41 additions and 10 deletions

View file

@ -1042,6 +1042,10 @@ FuncType parse_func_name(char *func_name, Arg *arg, char *arg_value,
} else if (strcmp(func_name, "setlayout") == 0) {
func = setlayout;
(*arg).v = strdup(arg_value);
} else if (strcmp(func_name, "next_layout") == 0) {
func = next_layout;
} else if (strcmp(func_name, "previous_layout") == 0) {
func = previous_layout;
} else if (strcmp(func_name, "switch_layout") == 0) {
func = switch_layout;
} else if (strcmp(func_name, "togglefloating") == 0) {