summaryrefslogtreecommitdiffstats
path: root/draw.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-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
98/* extern */ 98/* extern */
99 99
100void 100void
101drawall(void) {
102 Client *c;
103
104 for(c = clients; c; c = getnext(c->next))
105 drawclient(c);
106 drawstatus();
107}
108
109void
110drawstatus(void) { 101drawstatus(void) {
111 int i, x; 102 int i, x;
112 103
@@ -137,17 +128,6 @@ drawstatus(void) {
137 XSync(dpy, False); 128 XSync(dpy, False);
138} 129}
139 130
140void
141drawclient(Client *c) {
142 if(c == sel && issel) {
143 drawstatus();
144 XSetWindowBorder(dpy, c->win, dc.sel[ColBorder]);
145 return;
146 }
147 XSetWindowBorder(dpy, c->win, dc.norm[ColBorder]);
148 XSync(dpy, False);
149}
150
151unsigned long 131unsigned long
152getcolor(const char *colstr) { 132getcolor(const char *colstr) {
153 Colormap cmap = DefaultColormap(dpy, screen); 133 Colormap cmap = DefaultColormap(dpy, screen);