serious mistake in pop() (forgot to set c->prev to NULL on pop)

new_dwm
arg@10ksloc.org 19 years ago
parent 72707c2fae
commit 0a4342098b

@ -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;

Loading…
Cancel
Save