修复内部间隙

This commit is contained in:
DreamMaoMao 2025-02-17 11:54:56 +08:00
parent a64566b01e
commit 89b290ebe4

View file

@ -4894,8 +4894,9 @@ void fibonacci(Monitor *mon, int s) {
nw = mon->w.width - gappoh - nw; nw = mon->w.width - gappoh - nw;
i++; i++;
} }
resize(c, (struct wlr_box){.x = nx, .y = ny, resize(c, (struct wlr_box){.x = nx, .y = ny,
.width = nw - 2 * c->bw, .height = nh - 2 * c->bw}, 0); .width = nw - gappih, .height = nh - gappiv}, 0);
} }
} }