noborder parameter
- Add noborder parameter to enable/disable border when only one window is shown
This commit is contained in:
2
dwm.c
2
dwm.c
@@ -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;
|
||||
|
Reference in New Issue
Block a user