feat(runtime): 通过 listeners 发送初始状态

This commit is contained in:
2026-05-23 23:06:53 +08:00
parent ca9e543cc0
commit 13fc41f141
3 changed files with 47 additions and 0 deletions

View File

@@ -6,6 +6,7 @@
#include "core/command_buffer.h"
#include "core/event.h"
#include "core/layout.h"
#include "core/listeners.h"
#include "core/plan.h"
#include "core/rules.h"
#include "core/state.h"
@@ -15,6 +16,7 @@ typedef struct policy_context_t {
binding_table_t *bind_table;
state_t *state;
const rules_t *rules;
const listeners_t *listeners;
const border_config_t *border;
const layout_registry_t *layouts;
} policy_context_t;