comparison client.c @ 405:dd44dc937e8b

hotfixing with sanders hint
author Anselm R. Garbe <arg@10kloc.org>
date Mon, 04 Sep 2006 17:21:15 +0200
parents 6413ea66b1c2
children a031bbee1816
comparison
equal deleted inserted replaced
404:4439d1168b6c 405:dd44dc937e8b
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 if(isvisible(c)) {
258 focus(NULL);
258 sel = c; 259 sel = c;
260 }
259 arrange(NULL); 261 arrange(NULL);
260 XMapWindow(dpy, c->win); 262 XMapWindow(dpy, c->win);
261 XMapWindow(dpy, c->twin); 263 XMapWindow(dpy, c->twin);
262 if(isvisible(c)) 264 if(isvisible(c))
263 focus(c); 265 focus(c);