feat(core/runtime): 集成布局计算到主循环

This commit is contained in:
2026-04-27 21:06:11 +08:00
parent 7413d7439a
commit 8d838135d6
5 changed files with 98 additions and 4 deletions

View File

@@ -5,7 +5,6 @@ bool fullscreen(const zdwm_layout_ctx_t *ctx, zdwm_layout_result_t *out) {
auto count = ctx->window_count;
if (!windows || !count) return false;
zdwm_layout_result_reset(out);
for (size_t i = 0; i < count; ++i) {
zdwm_layout_item_t item = {
.window_id = windows[i],