fix(listeners): 公共头添加 extern "C" 链接说明以支持 C++ 包含

This commit is contained in:
2026-05-17 03:35:11 +08:00
parent 74319e97f1
commit edde023f5a
2 changed files with 8 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ LISTENERS(window_removed, zdwm_window_removed);
#undef ITEM
#undef LISTENERS
typedef struct zdwm_listeners_t {
typedef struct listeners_t {
output_listeners_t output_listeners;
initial_workspace_list_listeners_t initial_workspace_listeners;
workspace_active_listeners_t active_workspace_listeners;