comparison draw.c @ 647:fd2ea58b0b94

renamed drawtitle into drawclient
author Anselm R. Garbe <arg@suckless.org>
date Thu, 04 Jan 2007 14:17:25 +0100
parents e90bf387bf6f
children 5d79c351e30a
comparison
equal deleted inserted replaced
646:665e78838cbb 647:fd2ea58b0b94
100 void 100 void
101 drawall(void) { 101 drawall(void) {
102 Client *c; 102 Client *c;
103 103
104 for(c = clients; c; c = getnext(c->next)) 104 for(c = clients; c; c = getnext(c->next))
105 drawtitle(c); 105 drawclient(c);
106 drawstatus(); 106 drawstatus();
107 } 107 }
108 108
109 void 109 void
110 drawstatus(void) { 110 drawstatus(void) {
136 XCopyArea(dpy, dc.drawable, barwin, dc.gc, 0, 0, bw, bh, 0, 0); 136 XCopyArea(dpy, dc.drawable, barwin, dc.gc, 0, 0, bw, bh, 0, 0);
137 XSync(dpy, False); 137 XSync(dpy, False);
138 } 138 }
139 139
140 void 140 void
141 drawtitle(Client *c) { 141 drawclient(Client *c) {
142 if(c == sel && issel) { 142 if(c == sel && issel) {
143 drawstatus(); 143 drawstatus();
144 XUnmapWindow(dpy, c->twin); 144 XUnmapWindow(dpy, c->twin);
145 XSetWindowBorder(dpy, c->win, dc.sel[ColBG]); 145 XSetWindowBorder(dpy, c->win, dc.sel[ColBG]);
146 return; 146 return;