diff options
Diffstat (limited to '')
| -rw-r--r-- | draw.c | 20 |
1 files changed, 0 insertions, 20 deletions
| @@ -98,15 +98,6 @@ drawtext(const char *text, unsigned long col[ColLast], Bool filledsquare, Bool e | |||
| 98 | /* extern */ | 98 | /* extern */ |
| 99 | 99 | ||
| 100 | void | 100 | void |
| 101 | drawall(void) { | ||
| 102 | Client *c; | ||
| 103 | |||
| 104 | for(c = clients; c; c = getnext(c->next)) | ||
| 105 | drawclient(c); | ||
| 106 | drawstatus(); | ||
| 107 | } | ||
| 108 | |||
| 109 | void | ||
| 110 | drawstatus(void) { | 101 | drawstatus(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 | ||
| 140 | void | ||
| 141 | drawclient(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 | |||
| 151 | unsigned long | 131 | unsigned long |
| 152 | getcolor(const char *colstr) { | 132 | getcolor(const char *colstr) { |
| 153 | Colormap cmap = DefaultColormap(dpy, screen); | 133 | Colormap cmap = DefaultColormap(dpy, screen); |
