added some new convenience functions

This commit is contained in:
Anselm R. Garbe
2007-02-19 13:42:39 +01:00
parent 5d9146ff37
commit 30af19d442
4 changed files with 40 additions and 30 deletions

11
view.c
View File

@ -7,17 +7,6 @@
void (*arrange)(void) = DEFMODE;
void
detach(Client *c) {
if(c->prev)
c->prev->next = c->next;
if(c->next)
c->next->prev = c->prev;
if(c == clients)
clients = c->next;
c->next = c->prev = NULL;
}
void
dofloat(void) {
Client *c;