client.c
changeset 408 a031bbee1816
parent 405 dd44dc937e8b
child 429 a31de8605f72
equal deleted inserted replaced
407:1a99afa20d86 408:a031bbee1816
   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)) {
   257 	ban(c);
   258 		focus(NULL);
       
   259 		sel = c;
       
   260 	}
       
   261 	arrange(NULL);
       
   262 	XMapWindow(dpy, c->win);
   258 	XMapWindow(dpy, c->win);
   263 	XMapWindow(dpy, c->twin);
   259 	XMapWindow(dpy, c->twin);
   264 	if(isvisible(c))
   260 	if(isvisible(c))
   265 		focus(c);
   261 		focus(c);
       
   262 	arrange(NULL);
   266 }
   263 }
   267 
   264 
   268 void
   265 void
   269 resize(Client *c, Bool sizehints, Corner sticky)
   266 resize(Client *c, Bool sizehints, Corner sticky)
   270 {
   267 {