X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=draw.c;h=6a7fea970c398fa930f22122b832f15428cb413d;hp=5bb6fc2ae294a25be0f8b4716cd4892d6b86154a;hb=c0705eeb65733e8c5091e47d5bdc701a0779a949;hpb=29355bd38284ed9aec8d3ffabde61db73947c9f9 diff --git a/draw.c b/draw.c index 5bb6fc2..6a7fea9 100644 --- a/draw.c +++ b/draw.c @@ -11,7 +11,7 @@ #include "dwm.h" void -draw_bar() +drawstatus() { int i; @@ -44,11 +44,11 @@ draw_bar() } void -draw_client(Client *c) +drawtitle(Client *c) { int i; if(c == sel) { - draw_bar(); + drawstatus(); XUnmapWindow(dpy, c->title); XSetWindowBorder(dpy, c->win, dc.fg); return; @@ -145,7 +145,7 @@ drawtext(const char *text, Bool invert, Bool border) } unsigned long -initcolor(const char *colstr) +getcolor(const char *colstr) { XColor color; Colormap cmap = DefaultColormap(dpy, screen); @@ -172,7 +172,7 @@ textw(char *text) } void -initfont(const char *fontstr) +setfont(const char *fontstr) { char **missing, *def; int i, n;