refactor(core/runtime): 调整布局计算流程

This commit is contained in:
2026-04-28 03:28:03 +08:00
parent 722d3946c6
commit 78200debf5
3 changed files with 72 additions and 40 deletions

View File

@@ -121,3 +121,5 @@ void window_take_metadata(
* @brief 窗口是否需要参与布局计算
*/
bool window_need_layout(const window_t *window);
bool window_need_move(const window_t *window, int32_t x, int32_t y);
bool window_need_resize(const window_t *window, int32_t width, int32_t height);