From e7da450d3c4f7275d971bb4aa38d2a9fee4b91a2 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 17 Oct 2007 12:12:40 +0200 Subject: [PATCH] client_attach and detach are together <3 --- client.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/client.c b/client.c index 15f6a4ac8..f23e657c5 100644 --- a/client.c +++ b/client.c @@ -230,19 +230,6 @@ client_swap(Client **head, Client *c1, Client *c2) *head = c2; } -/** Attach client to the beginning of the clients stack - * \param head client list - * \param c the client - */ -void -client_attach(Client **head, Client *c) -{ - if(*head) - (*head)->prev = c; - c->next = *head; - *head = c; -} - void updatetitle(Client *c) { @@ -284,6 +271,19 @@ configure(Client * c) XSendEvent(c->display, c->win, False, StructureNotifyMask, (XEvent *) & ce); } +/** Attach client to the beginning of the clients stack + * \param head client list + * \param c the client + */ +void +client_attach(Client **head, Client *c) +{ + if(*head) + (*head)->prev = c; + c->next = *head; + *head = c; +} + /** Detach client from clients list * \param head client list * \param c client to detach