Mercurial > aewl
comparison client.c @ 435:42388f634de0
seems to preserve floating client z-layer order (even with reorder() calls)
author | Anselm R. Garbe <arg@10kloc.org> |
---|---|
date | Wed, 06 Sep 2006 11:46:35 +0200 |
parents | a230e4432bb7 |
children | b3659c3c5dab |
comparison
equal
deleted
inserted
replaced
434:265dc4ae3354 | 435:42388f634de0 |
---|---|
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 } | |
102 grabbuttons(c, True); | 110 grabbuttons(c, True); |
103 drawtitle(c); | 111 drawtitle(c); |
104 XSetInputFocus(dpy, c->win, RevertToPointerRoot, CurrentTime); | 112 XSetInputFocus(dpy, c->win, RevertToPointerRoot, CurrentTime); |
105 } | 113 } |
106 else | 114 else |