dwm

Kris's build of dwm
git clone git clone https://git.krisyotam.com/krisyotam/dwm.git
Log | Files | Refs | README | LICENSE

zoomswap.c (242B)


      1 
      2 #if !PERTAG_PATCH
      3 static Client *prevzoom = NULL;
      4 #endif // PERTAG_PATCH
      5 
      6 Client *
      7 findbefore(Client *c) {
      8 	Client *p;
      9 	if (!c || c == c->mon->clients)
     10 		return NULL;
     11 	for (p = c->mon->clients; p && p->next != c; p = p->next);
     12 	return p;
     13 }
     14