Merge branch 'main' into feat/focus-animation

This commit is contained in:
DreamMaoMao
2025-11-01 19:27:09 +08:00
committed by GitHub
8 changed files with 36 additions and 188 deletions

View File

@@ -930,8 +930,6 @@ FuncType parse_func_name(char *func_name, Arg *arg, char *arg_value,
(*arg).v = strdup(arg_value);
} else if (strcmp(func_name, "switch_layout") == 0) {
func = switch_layout;
} else if (strcmp(func_name, "switch_keyboard_layout") == 0) {
func = switch_keyboard_layout;
} else if (strcmp(func_name, "togglefloating") == 0) {
func = togglefloating;
} else if (strcmp(func_name, "togglefullscreen") == 0) {
@@ -3196,5 +3194,6 @@ void reset_option(void) {
int reload_config(const Arg *arg) {
parse_config();
reset_option();
printstatus();
return 0;
}