mfwm

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

commit cf298eb128397f98443d871f73287bf4988cc798
parent 1d33b762ebc4a88bd96da8b120d97c2ddf9bb763
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Sun, 13 Oct 2019 12:15:41 +0300

docs: update

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

diff --git a/sowm.c b/sowm.c @@ -213,15 +213,12 @@ void win_fs(Window w) { if (!c) return; - if (!c->f) { + if ((c->f = c->f == 0 ? 1 : 0)) { XGetWindowAttributes(dis, w, &c->a); XMoveResizeWindow(dis, w, 0, 0, sw, sh); - c->f = 1; - } else { + } else XMoveResizeWindow(dis, w, c->a.x, c->a.y, c->a.width, c->a.height); - c->f = 0; - } } void win_to_ws(const Arg arg) {