removed the if(clients) check from popping code
This commit is contained in:
parent
4ee661d908
commit
735ca9ccd6
1
client.c
1
client.c
|
@ -477,7 +477,6 @@ zoom(Arg *arg)
|
||||||
if(sel->next)
|
if(sel->next)
|
||||||
sel->next->prev = sel->prev;
|
sel->next->prev = sel->prev;
|
||||||
sel->prev = NULL;
|
sel->prev = NULL;
|
||||||
if(clients)
|
|
||||||
clients->prev = sel;
|
clients->prev = sel;
|
||||||
sel->next = clients;
|
sel->next = clients;
|
||||||
clients = sel;
|
clients = sel;
|
||||||
|
|
Loading…
Reference in a new issue