窗口 metadata 添加 role 字段

This commit is contained in:
2026-04-07 04:24:30 +08:00
parent 9728fad871
commit 5353e4c677
6 changed files with 30 additions and 8 deletions

View File

@@ -46,7 +46,8 @@ typedef struct window_props_t {
typedef struct window_metadata_t {
char *title;
char *app_id; /* X11 中将其当 role 用 */
char *app_id;
char *role;
char *class_name;
char *instance_name;
} window_metadata_t;