diff options
Diffstat (limited to '')
| -rw-r--r-- | draw.c | 10 |
1 files changed, 5 insertions, 5 deletions
| @@ -11,7 +11,7 @@ | |||
| 11 | #include "dwm.h" | 11 | #include "dwm.h" |
| 12 | 12 | ||
| 13 | void | 13 | void |
| 14 | draw_bar() | 14 | drawstatus() |
| 15 | { | 15 | { |
| 16 | int i; | 16 | int i; |
| 17 | 17 | ||
| @@ -44,11 +44,11 @@ draw_bar() | |||
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | void | 46 | void |
| 47 | draw_client(Client *c) | 47 | drawtitle(Client *c) |
| 48 | { | 48 | { |
| 49 | int i; | 49 | int i; |
| 50 | if(c == sel) { | 50 | if(c == sel) { |
| 51 | draw_bar(); | 51 | drawstatus(); |
| 52 | XUnmapWindow(dpy, c->title); | 52 | XUnmapWindow(dpy, c->title); |
| 53 | XSetWindowBorder(dpy, c->win, dc.fg); | 53 | XSetWindowBorder(dpy, c->win, dc.fg); |
| 54 | return; | 54 | return; |
| @@ -145,7 +145,7 @@ drawtext(const char *text, Bool invert, Bool border) | |||
| 145 | } | 145 | } |
| 146 | 146 | ||
| 147 | unsigned long | 147 | unsigned long |
| 148 | initcolor(const char *colstr) | 148 | getcolor(const char *colstr) |
| 149 | { | 149 | { |
| 150 | XColor color; | 150 | XColor color; |
| 151 | Colormap cmap = DefaultColormap(dpy, screen); | 151 | Colormap cmap = DefaultColormap(dpy, screen); |
| @@ -172,7 +172,7 @@ textw(char *text) | |||
| 172 | } | 172 | } |
| 173 | 173 | ||
| 174 | void | 174 | void |
| 175 | initfont(const char *fontstr) | 175 | setfont(const char *fontstr) |
| 176 | { | 176 | { |
| 177 | char **missing, *def; | 177 | char **missing, *def; |
| 178 | int i, n; | 178 | int i, n; |
