From f8181f64e2ba4fca4e85036c48cf90a2151794fc Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Mon, 15 Jan 2007 12:04:25 +0100 Subject: removed drawclient and drawall (they performed useless operations/consumed useless cpu cycles) --- draw.c | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'draw.c') diff --git a/draw.c b/draw.c index 19604f35..fe2951ce 100644 --- a/draw.c +++ b/draw.c @@ -97,15 +97,6 @@ drawtext(const char *text, unsigned long col[ColLast], Bool filledsquare, Bool e /* extern */ -void -drawall(void) { - Client *c; - - for(c = clients; c; c = getnext(c->next)) - drawclient(c); - drawstatus(); -} - void drawstatus(void) { int i, x; @@ -137,17 +128,6 @@ drawstatus(void) { XSync(dpy, False); } -void -drawclient(Client *c) { - if(c == sel && issel) { - drawstatus(); - XSetWindowBorder(dpy, c->win, dc.sel[ColBorder]); - return; - } - XSetWindowBorder(dpy, c->win, dc.norm[ColBorder]); - XSync(dpy, False); -} - unsigned long getcolor(const char *colstr) { Colormap cmap = DefaultColormap(dpy, screen); -- cgit v1.2.3