client.c
changeset 403 6413ea66b1c2
parent 400 052657ff2e7b
child 405 dd44dc937e8b
equal deleted inserted replaced
402:c7d5ff57998d 403:6413ea66b1c2
   252 		clients->prev = c;
   252 		clients->prev = c;
   253 	c->next = clients;
   253 	c->next = clients;
   254 	clients = c;
   254 	clients = c;
   255 
   255 
   256 	settitle(c);
   256 	settitle(c);
       
   257 	if(isvisible(c))
       
   258 		sel = c;
   257 	arrange(NULL);
   259 	arrange(NULL);
   258 	XMapWindow(dpy, c->win);
   260 	XMapWindow(dpy, c->win);
   259 	XMapWindow(dpy, c->twin);
   261 	XMapWindow(dpy, c->twin);
   260 	if(isvisible(c))
   262 	if(isvisible(c))
   261 		focus(c);
   263 		focus(c);