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

@@ -1,6 +1,8 @@
#pragma once
#include <zdwm/action.h>
#include "core/binding.h"
#include "core/command_buffer.h"
#include "core/event.h"
#include "core/plan.h"
@@ -8,6 +10,7 @@
#include "core/state.h"
typedef struct policy_context_t {
binding_table_t *bind_table;
state_t *state;
const rules_t *rules;
const zdwm_action_ctx_t action_ctx;