Mercurial > dwm-meillo
comparison client.c @ 647:fd2ea58b0b94
renamed drawtitle into drawclient
author | Anselm R. Garbe <arg@suckless.org> |
---|---|
date | Thu, 04 Jan 2007 14:17:25 +0100 |
parents | 1ed8c40dde36 |
children | a76799907854 |
comparison
equal
deleted
inserted
replaced
646:665e78838cbb | 647:fd2ea58b0b94 |
---|---|
94 else if(sel != c) { | 94 else if(sel != c) { |
95 old = sel; | 95 old = sel; |
96 sel = c; | 96 sel = c; |
97 if(old) { | 97 if(old) { |
98 grabbuttons(old, False); | 98 grabbuttons(old, False); |
99 drawtitle(old); | 99 drawclient(old); |
100 } | 100 } |
101 } | 101 } |
102 if(c) { | 102 if(c) { |
103 detachstack(c); | 103 detachstack(c); |
104 c->snext = stack; | 104 c->snext = stack; |
105 stack = c; | 105 stack = c; |
106 grabbuttons(c, True); | 106 grabbuttons(c, True); |
107 drawtitle(c); | 107 drawclient(c); |
108 XSetInputFocus(dpy, c->win, RevertToPointerRoot, CurrentTime); | 108 XSetInputFocus(dpy, c->win, RevertToPointerRoot, CurrentTime); |
109 } | 109 } |
110 else | 110 else |
111 XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime); | 111 XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime); |
112 } | 112 } |