mirror of
https://git.suckless.org/dwm
synced 2024-12-27 03:16:32 +00:00
serious mistake in pop() (forgot to set c->prev to NULL on pop)
This commit is contained in:
parent
72707c2fae
commit
0a4342098b
1 changed files with 1 additions and 0 deletions
1
client.c
1
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;
|
||||
|
|
Loading…
Reference in a new issue