aboutsummaryrefslogtreecommitdiffstats
path: root/draw.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-01-15 12:04:25 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-01-15 12:04:25 +0100
commitf8181f64e2ba4fca4e85036c48cf90a2151794fc (patch)
tree7d82e76b3214ca5e09a25ce8e68f1fbf1491c138 /draw.c
parent0045ad87dfb32f35fc17b5b8942049cfe84d623c (diff)
downloaddwm-f8181f64e2ba4fca4e85036c48cf90a2151794fc.tar.gz
removed drawclient and drawall (they performed useless operations/consumed useless cpu cycles)
Diffstat (limited to 'draw.c')
-rw-r--r--draw.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/draw.c b/draw.c
index 19604f3..fe2951c 100644
--- a/draw.c
+++ b/draw.c
@@ -98,15 +98,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);
remember that computers suck.