diff --git a/dwl.c b/dwl.c index 240c3e7..e161798 100644 --- a/dwl.c +++ b/dwl.c @@ -3137,6 +3137,8 @@ vertile(Monitor *m) } else { h = ( m->w.height - ty ) / (n - i); resize(c, (struct wlr_box) { .x = m->w.x, .y = m->w.y + ty, .width = m->w.width, .height = h }, 0, draw_borders); +======= +>>>>>>> c980d77 (apply smartborders) ty += c->geom.height; } i++; @@ -3168,11 +3170,11 @@ vertile(Monitor *m) continue; if (i < m->nmaster) { h = ( mh - my ) / (MIN(n, m->nmaster) - i); - resize(c, (struct wlr_box) { .x = m->w.x, .y = m->w.y + my, .width = m->w.width, .height = h }, 0); + resize(c, (struct wlr_box) { .x = m->w.x, .y = m->w.y + my, .width = m->w.width, .height = h }, 0, draw_borders); my += c->geom.height; } else { h = ( m->w.height - ty ) / (n - i); - resize(c, (struct wlr_box) { .x = m->w.x, .y = m->w.y + ty, .width = m->w.width, .height = h }, 0); + resize(c, (struct wlr_box) { .x = m->w.x, .y = m->w.y + ty, .width = m->w.width, .height = h }, 0, draw_borders); ty += c->geom.height; } i++;