diff --git a/client.c b/client.c index b99e4c7d..054f8f68 100644 --- a/client.c +++ b/client.c @@ -153,27 +153,6 @@ client_ban(Client * c) window_setstate(c->display, c->win, IconicState); } -/** Attach client after another one -* \param client to attach to -* \param c the client -*/ -void -client_reattach_after(Client *head, Client *c) -{ - if(head->next == c) - return; - - if(head->next) - head->next->prev = c; - - if(c->prev) - c->prev->next = c->next; - - c->next = head->next; - head->next = c; - c->prev = head; -} - /** Attach client to the beginning of the clients stack * \param head client list * \param c the client diff --git a/client.h b/client.h index e4957e29..1ab5247f 100644 --- a/client.h +++ b/client.h @@ -27,7 +27,6 @@ Client * get_client_bywin(Client *, Window); void client_attach(Client **, Client *); void client_detach(Client **, Client *); -void client_reattach_after(Client *, Client *); void client_ban(Client *); void focus(Client *, Bool, awesome_config *, int); void client_manage(Window, XWindowAttributes *, awesome_config *, int);