comparison client.c @ 442:056a5072c70a

no this is better
author Anselm R. Garbe <arg@10kloc.org>
date Wed, 06 Sep 2006 15:36:42 +0200
parents 785bad5f21dd
children a2e587651c79
comparison
equal deleted inserted replaced
441:785bad5f21dd 442:056a5072c70a
97 grabbuttons(old, False); 97 grabbuttons(old, False);
98 drawtitle(old); 98 drawtitle(old);
99 } 99 }
100 } 100 }
101 if(c) { 101 if(c) {
102 if(c->isfloat || arrange == dofloat) {
103 detach(c);
104 if(clients)
105 clients->prev = c;
106 c->next = clients;
107 clients = c;
108 }
109 grabbuttons(c, True); 102 grabbuttons(c, True);
110 drawtitle(c); 103 drawtitle(c);
111 XSetInputFocus(dpy, c->win, RevertToPointerRoot, CurrentTime); 104 XSetInputFocus(dpy, c->win, RevertToPointerRoot, CurrentTime);
112 } 105 }
113 else 106 else