sowm

An itsy bitsy floating window manager (220~ sloc!).
git clone git://mfeller.io/sowm.git
Log | Files | Refs | README | LICENSE

commit d70ecee07dd0c171e089d855477e73dfd2573105
parent fa3c276ce6d7c4113420385e40701b625df53fd8
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Sat, 19 Oct 2019 13:40:28 +0300

sowm: clean up

Diffstat:
Msowm.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sowm.c b/sowm.c @@ -66,9 +66,9 @@ static void (*events[LASTEvent])(XEvent *e) = { #include "config.h" -#define win (client *t=0, *c=list; c && t!=list->prev; t=c, c=c->next) -#define ws_save(W) ws_list[W] = list -#define ws_sel(W) list = ws_list[ws = W] +#define win (client *t=0, *c=list; c && t!=list->prev; t=c, c=c->next) +#define ws_save(W) ws_list[W] = list +#define ws_sel(W) list = ws_list[ws = W] #define win_size(W, gx, gy, gw, gh) \ XGetGeometry(d, W, &(Window){0}, gx, gy, gw, gh, \