Mercurial > aewl
comparison client.c @ 436:b3659c3c5dab
sanders solution is convincing and elegant
author | Anselm R. Garbe <arg@10kloc.org> |
---|---|
date | Wed, 06 Sep 2006 11:54:16 +0200 |
parents | 42388f634de0 |
children | 9d73c8298b2e |
comparison
equal
deleted
inserted
replaced
435:42388f634de0 | 436:b3659c3c5dab |
---|---|
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) && (c != clients)) { | |
103 detach(c); | |
104 if(clients) { | |
105 clients->prev = c; | |
106 c->next = clients; | |
107 } | |
108 clients = c; | |
109 } | |
110 grabbuttons(c, True); | 102 grabbuttons(c, True); |
111 drawtitle(c); | 103 drawtitle(c); |
112 XSetInputFocus(dpy, c->win, RevertToPointerRoot, CurrentTime); | 104 XSetInputFocus(dpy, c->win, RevertToPointerRoot, CurrentTime); |
113 } | 105 } |
114 else | 106 else |