修复swichlayout

This commit is contained in:
DreamMaoMao 2025-02-16 22:32:16 +08:00
parent 959e3f782f
commit c41c5a6b86
2 changed files with 27 additions and 21 deletions

View file

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