forked from mirror/dwm
removed the if(clients) check from popping code
This commit is contained in:
parent
4ee661d908
commit
735ca9ccd6
1 changed files with 1 additions and 2 deletions
3
client.c
3
client.c
|
@ -477,8 +477,7 @@ 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;
|
||||||
arrange(NULL);
|
arrange(NULL);
|
||||||
|
|
Loading…
Reference in a new issue