fix(core/binding): 将 action_arg 改为值类型避免悬空指针问题

This commit is contained in:
2026-04-27 01:17:07 +08:00
parent c93e78bbd6
commit fc038eda35
6 changed files with 7 additions and 7 deletions

View File

@@ -111,7 +111,7 @@ typedef struct zdwm_api_t {
zdwm_binding_mode_id_t bind_mode,
const char *key_sequence,
zdwm_action_fn action_fn,
zdwm_action_arg_t *action_arg
zdwm_action_arg_t action_arg
);
/**