Mercurial > dwm-meillo
comparison client.c @ 441:785bad5f21dd
does this preserve z order for anthony?
author | Anselm R. Garbe <arg@10kloc.org> |
---|---|
date | Wed, 06 Sep 2006 15:30:28 +0200 |
parents | 9d73c8298b2e |
children | 056a5072c70a |
comparison
equal
deleted
inserted
replaced
440:9d73c8298b2e | 441:785bad5f21dd |
---|---|
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 } | |
102 grabbuttons(c, True); | 109 grabbuttons(c, True); |
103 drawtitle(c); | 110 drawtitle(c); |
104 XSetInputFocus(dpy, c->win, RevertToPointerRoot, CurrentTime); | 111 XSetInputFocus(dpy, c->win, RevertToPointerRoot, CurrentTime); |
105 } | 112 } |
106 else | 113 else |
241 settags(c, getclient(trans)); | 248 settags(c, getclient(trans)); |
242 if(!c->isfloat) | 249 if(!c->isfloat) |
243 c->isfloat = trans | 250 c->isfloat = trans |
244 || (c->maxw && c->minw && | 251 || (c->maxw && c->minw && |
245 c->maxw == c->minw && c->maxh == c->minh); | 252 c->maxw == c->minw && c->maxh == c->minh); |
246 if(c->isfloat) | |
247 c->weight = ntags; | |
248 | 253 |
249 if(clients) | 254 if(clients) |
250 clients->prev = c; | 255 clients->prev = c; |
251 c->next = clients; | 256 c->next = clients; |
252 clients = c; | 257 clients = c; |