dwm

my heavily-patched and customized dwm build
git clone git://git.kocotian.pl/dwm.git
Log | Files | Refs | README | LICENSE

commit 8e637749590e73ab33336ea41b2c5783df108e06
parent 76779d430233520e60ad6f711b2ff9c26153ab2e
Author: kocotian <kocotian@kocotian.pl>
Date:   Sat, 23 Jan 2021 07:53:07 +0100

floating windows w/out border

Diffstat:
Mdwm.c | 13+++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/dwm.c b/dwm.c @@ -1980,10 +1980,19 @@ resizeclient(Client *c, int x, int y, int w, int h) if ((nexttiled(c->mon->clients) == c) && !(nexttiled(c->next))) resetlayout(NULL); - if (((nexttiled(c->mon->clients) == c && !nexttiled(c->next)) + /* if (((nexttiled(c->mon->clients) == c && !nexttiled(c->next)) */ + /* || &monocle == c->mon->lt[c->mon->sellt]->arrange) */ + /* && !c->isfullscreen && !c->isfloating */ + /* && NULL != c->mon->lt[c->mon->sellt]->arrange) { */ + /* c->w = wc.width += c->bw * 2; */ + /* c->h = wc.height += c->bw * 2; */ + /* wc.border_width = 0; */ + /* } */ + + if ((((nexttiled(c->mon->clients) == c && !nexttiled(c->next)) || &monocle == c->mon->lt[c->mon->sellt]->arrange) && !c->isfullscreen && !c->isfloating - && NULL != c->mon->lt[c->mon->sellt]->arrange) { + && NULL != c->mon->lt[c->mon->sellt]->arrange) || c->isfloating) { c->w = wc.width += c->bw * 2; c->h = wc.height += c->bw * 2; wc.border_width = 0;