backend: X11 后端 window 信息查询接口使用原始封装代替语义化封装
- 拆分 window_get_skip_taskbar / window_get_urgency / window_get_states / window_get_geometry_mode 为更底层的 window_get_atom_array / window_get_wm_hints / atom_to_window_state - window_get_fixed_size 改为输出参数风格 - 扁平化 window_map_request_event_t,内联原 window_props_t 和 window_geometry_t 的字段 - window_props_t → window_layer_props_t,仅保留 layer 分类所需的 types/states
This commit is contained in:
@@ -64,9 +64,16 @@ typedef struct pointer_enter_event_t {
|
||||
|
||||
typedef struct window_map_request_event_t {
|
||||
window_id_t window;
|
||||
window_props_t props;
|
||||
window_id_t transient_for;
|
||||
bool override_redirect;
|
||||
bool skip_taskbar;
|
||||
bool urgent;
|
||||
bool fixed_size;
|
||||
window_geometry_mode_t geometry_mode;
|
||||
rect_t rect;
|
||||
|
||||
window_layer_props_t props;
|
||||
window_metadata_t metadata;
|
||||
window_geometry_t geometry;
|
||||
} window_map_request_event_t;
|
||||
|
||||
typedef enum window_remove_reason_t {
|
||||
|
||||
Reference in New Issue
Block a user