comparison client.c @ 250:a9392d33865a

removed the if(clients) check from popping code
author Anselm R.Garbe <arg@10ksloc.org>
date Fri, 11 Aug 2006 08:34:42 +0200
parents 1227c21588e2
children 5c72602fe587
comparison
equal deleted inserted replaced
249:5d7b7ff7a289 250:a9392d33865a
475 if(sel->prev) 475 if(sel->prev)
476 sel->prev->next = sel->next; 476 sel->prev->next = sel->next;
477 if(sel->next) 477 if(sel->next)
478 sel->next->prev = sel->prev; 478 sel->next->prev = sel->prev;
479 sel->prev = NULL; 479 sel->prev = NULL;
480 if(clients) 480 clients->prev = sel;
481 clients->prev = sel;
482 sel->next = clients; 481 sel->next = clients;
483 clients = sel; 482 clients = sel;
484 arrange(NULL); 483 arrange(NULL);
485 focus(sel); 484 focus(sel);
486 } 485 }