1
0
mirror of https://github.com/mintycube/dwm.git synced 2024-10-22 12:05:45 +00:00
dwm/patch/zoomswap.c

13 lines
240 B
C

#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;
}