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

@@ -34,8 +34,8 @@ typedef struct wm_effect_t {
struct {
wm_window_id_t window_id;
wm_rect_t rect;
uint16_t border_width;
wm_rect_t rect; // 最终外框矩形(包含边框)
uint16_t border_width; // runtime 解析出的有效边框宽度
} configure_window;
struct {