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

This commit is contained in:
zedhugh committed 2026-04-27 01:09:23 +08:00
1 parent 19e97b730b
commit c93e78bbd6
13 files changed
+142 -17

No files matched your search

-3
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)