comparison client.c @ 403:6413ea66b1c2

fixing the issue that new clients appear lowered
author Anselm R. Garbe <arg@10kloc.org>
date Mon, 04 Sep 2006 17:02:13 +0200
parents 052657ff2e7b
children dd44dc937e8b
comparison
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);