noborder parameter

- Add noborder parameter to enable/disable border when only one window is shown
This commit is contained in:
Sravan Balaji
2020-12-20 00:05:58 -05:00
parent be9497bd75
commit 0b87eae829
2 changed files with 2 additions and 1 deletions

2
dwm.c
View File

@@ -1498,7 +1498,7 @@ resizeclient(Client *c, int x, int y, int w, int h)
wc.border_width = c->bw;
if (((nexttiled(c->mon->clients) == c && !nexttiled(c->next))
|| &monocle == c->mon->lt[c->mon->sellt]->arrange)
&& !c->isfullscreen && !c->isfloating
&& !c->isfullscreen && !c->isfloating && noborder
&& NULL != c->mon->lt[c->mon->sellt]->arrange) {
c->w = wc.width += c->bw * 2;
c->h = wc.height += c->bw * 2;