client.c
changeset 283 134804791d73
parent 272 be40a56df248
child 286 ff501d94de62
equal deleted inserted replaced
282:74d00f634ee2 283:134804791d73
   260 		c->isfloat = trans
   260 		c->isfloat = trans
   261 			|| (c->maxw && c->minw &&
   261 			|| (c->maxw && c->minw &&
   262 				c->maxw == c->minw && c->maxh == c->minh);
   262 				c->maxw == c->minw && c->maxh == c->minh);
   263 	settitle(c);
   263 	settitle(c);
   264 
   264 
       
   265 	if(isvisible(c))
       
   266 		sel = c;
       
   267 	arrange(NULL);
   265 	XMapWindow(dpy, c->win);
   268 	XMapWindow(dpy, c->win);
   266 	XMapWindow(dpy, c->title);
   269 	XMapWindow(dpy, c->title);
   267 	if(isvisible(c))
   270 	if(isvisible(c))
   268 		focus(c);
   271 		focus(c);
   269 	arrange(NULL);
       
   270 }
   272 }
   271 
   273 
   272 void
   274 void
   273 resize(Client *c, Bool sizehints, Corner sticky)
   275 resize(Client *c, Bool sizehints, Corner sticky)
   274 {
   276 {