diff options
author | arg@10ksloc.org <unknown> | 2006-07-20 18:23:43 +0200 |
---|---|---|
committer | arg@10ksloc.org <unknown> | 2006-07-20 18:23:43 +0200 |
commit | 0a4342098b6d01367c69782c643cb685f1cd3c3d (patch) | |
tree | 9ff776831d212d0758a26a476e50a9e7b76ce6af /client.c | |
parent | 72707c2fae68f5eba6ea97cbf356bfb968c8a15d (diff) | |
download | dwm-0a4342098b6d01367c69782c643cb685f1cd3c3d.tar.gz |
serious mistake in pop() (forgot to set c->prev to NULL on pop)
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client.c b/client.c index 34c69aa..89ca5fb 100644 --- a/client.c +++ b/client.c @@ -284,6 +284,7 @@ pop(Client *c) c->next->prev = c->prev; *l = c->next; + c->prev = NULL; if(clients) clients->prev = c; c->next = clients; |