mfwm

A tiling fork of dylanaraps sowm.
git clone git://depsterr.com/git/mfwm
Log | Files | Refs | README | LICENSE

commit ee2d881f251da1c701e315ae36553982a7f3338b
parent 9ec0de3b355ee007362d424cb06d54d4c544f992
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Sat, 12 Oct 2019 23:24:30 +0300

docs: update

Diffstat:
Msowm.c | 11++++-------
1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/sowm.c b/sowm.c @@ -163,9 +163,8 @@ void win_add(Window w) { c->prev = 0; c->win = w; head = c; - } - else { + } else { for (t=head;t->next;t=t->next); c->next = 0; @@ -193,12 +192,11 @@ void win_del(Window w) { if (!c->prev) { head = c->next; c->next->prev = 0; - } - else if (!c->next) + } else if (!c->next) { c->prev->next = 0; - else { + } else { c->prev->next = c->next; c->next->prev = c->prev; } @@ -241,9 +239,8 @@ void win_fs(Window w) { c->h = attr.height; XMoveResizeWindow(dis, w, 0, 0, sw, sh); - } - else { + } else { c->f = 0; XMoveResizeWindow(dis, w, c->x, c->y, c->w, c->h);