feat(core+backend/X11): 完成快捷键绑定和触发功能

This commit is contained in:
2026-04-27 01:09:23 +08:00
parent 19e97b730b
commit c93e78bbd6
13 changed files with 142 additions and 17 deletions

View File

@@ -58,9 +58,6 @@ bool config_defaults_build(
auto default_mode = api->add_mode(builder, "default");
zdwm_action_arg_t launcher_arg = {.str = launcher};
api->bind(builder, default_mode, "Mod4+r", spawn, &launcher_arg);
#define BIND(mode, key, fn, arg) \
api->bind(builder, mode, key, fn, &(zdwm_action_arg_t)arg)