summaryrefslogtreecommitdiffstats
path: root/draw.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--draw.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/draw.c b/draw.c
index 5bb6fc2..6a7fea9 100644
--- a/draw.c
+++ b/draw.c
@@ -11,7 +11,7 @@
11#include "dwm.h" 11#include "dwm.h"
12 12
13void 13void
14draw_bar() 14drawstatus()
15{ 15{
16 int i; 16 int i;
17 17
@@ -44,11 +44,11 @@ draw_bar()
44} 44}
45 45
46void 46void
47draw_client(Client *c) 47drawtitle(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
147unsigned long 147unsigned long
148initcolor(const char *colstr) 148getcolor(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
174void 174void
175initfont(const char *fontstr) 175setfont(const char *fontstr)
176{ 176{
177 char **missing, *def; 177 char **missing, *def;
178 int i, n; 178 int i, n;