- }
- else {
- XMapRaised(dpy, c->win);
- XMapRaised(dpy, c->title);
-
- }
-}
-
-void
-pop(Client *c)
-{
- Client **l;
-
- for(l = &clients; *l && *l != c; l = &(*l)->next);
- if(c->prev)
- c->prev->next = c->next;
- if(c->next)
- c->next->prev = c->prev;
- *l = c->next;
-
- c->prev = NULL;
- if(clients)
- clients->prev = c;
- c->next = clients;
- clients = c;
- arrange(NULL);