core: 明确布局函数返回语义与 floating 布局约定

This commit is contained in:
2026-03-12 05:46:28 +08:00
parent 1bee0de9f9
commit 499030bd04
11 changed files with 300 additions and 11 deletions

View File

@@ -18,7 +18,7 @@ typedef struct wm_layout_ctx_t {
typedef struct wm_layout_item_t {
wm_window_id_t window_id;
wm_rect_t rect;
wm_rect_t rect; // 平铺窗口的目标外框矩形(包含边框)
} wm_layout_item_t;
typedef struct wm_layout_result_t {