opt: allow bind multi action to one keybind

This commit is contained in:
DreamMaoMao
2025-10-12 10:23:26 +08:00
parent 1863eb0182
commit 1d4138412a
5 changed files with 367 additions and 291 deletions

View File

@@ -281,7 +281,7 @@ void dwl_ipc_output_dispatch(struct wl_client *client,
const char *arg3, const char *arg4,
const char *arg5) {
void (*func)(const Arg *);
int (*func)(const Arg *);
Arg arg;
func = parse_func_name((char *)dispatch, &arg, (char *)arg1, (char *)arg2,
(char *)arg3, (char *)arg4, (char *)arg5);