Fixed no border rendering

This commit is contained in:
Fernando 2023-03-25 11:20:27 -06:00
parent 61baa7fa83
commit fe8d0710c3

2
dwm.c
View File

@ -1332,7 +1332,7 @@ resizeclient(Client *c, int x, int y, int w, int h)
if (c->isfloating || c->mon->lt[c->mon->sellt]->arrange == NULL) {
} else {
if (c->mon->lt[c->mon->sellt]->arrange == monocle || n == 1 && !enablegaps) {
if (c->mon->lt[c->mon->sellt]->arrange == monocle && !enablegaps || n == 1 && !enablegaps) {
wc.border_width = 0;
c->w = wc.width += c->bw * 2;
c->h = wc.height += c->bw * 2;