Fixed no border rendering
This commit is contained in:
parent
61baa7fa83
commit
fe8d0710c3
2
dwm.c
2
dwm.c
|
|
@ -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) {
|
if (c->isfloating || c->mon->lt[c->mon->sellt]->arrange == NULL) {
|
||||||
} else {
|
} 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;
|
wc.border_width = 0;
|
||||||
c->w = wc.width += c->bw * 2;
|
c->w = wc.width += c->bw * 2;
|
||||||
c->h = wc.height += c->bw * 2;
|
c->h = wc.height += c->bw * 2;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user