~kris/suckless

dwm

ref: 99a17f8a00f1d4c2de62b1115db338207ddce547 dwm/patch/zoomswap.c -rw-r--r-- 242 bytes
99a17f8a — Kris Yotam Rebind application keys to dmenu scripts and add reading mode layout 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#if !PERTAG_PATCH
static Client *prevzoom = NULL;
#endif // PERTAG_PATCH

Client *
findbefore(Client *c) {
	Client *p;
	if (!c || c == c->mon->clients)
		return NULL;
	for (p = c->mon->clients; p && p->next != c; p = p->next);
	return p;
}