feat: add dispatch focuslast

This commit is contained in:
DreamMaoMao 2025-06-15 15:55:18 +08:00
parent 4f78c06515
commit ba763332fc
3 changed files with 29 additions and 1 deletions

View file

@ -660,6 +660,8 @@ FuncType parse_func_name(char *func_name, Arg *arg, char *arg_value,
func = tagtoright;
} else if (strcmp(func_name, "killclient") == 0) {
func = killclient;
} else if (strcmp(func_name, "focuslast") == 0) {
func = focuslast;
} else if (strcmp(func_name, "setlayout") == 0) {
func = setlayout;
(*arg).v = strdup(arg_value);