dwm-meillo

diff draw.c @ 74:5370ef170cc9

sanitized names
author Anselm R. Garbe <garbeam@wmii.de>
date Fri, 14 Jul 2006 22:54:09 +0200
parents c2ddb9dbbd10
children f08271b7cb20
line diff
     1.1 --- a/draw.c	Fri Jul 14 22:33:38 2006 +0200
     1.2 +++ b/draw.c	Fri Jul 14 22:54:09 2006 +0200
     1.3 @@ -11,7 +11,7 @@
     1.4  #include "dwm.h"
     1.5  
     1.6  void
     1.7 -draw_bar()
     1.8 +drawstatus()
     1.9  {
    1.10  	int i;
    1.11  
    1.12 @@ -44,11 +44,11 @@
    1.13  }
    1.14  
    1.15  void
    1.16 -draw_client(Client *c)
    1.17 +drawtitle(Client *c)
    1.18  {
    1.19  	int i;
    1.20  	if(c == sel) {
    1.21 -		draw_bar();
    1.22 +		drawstatus();
    1.23  		XUnmapWindow(dpy, c->title);
    1.24  		XSetWindowBorder(dpy, c->win, dc.fg);
    1.25  		return;
    1.26 @@ -145,7 +145,7 @@
    1.27  }
    1.28  
    1.29  unsigned long
    1.30 -initcolor(const char *colstr)
    1.31 +getcolor(const char *colstr)
    1.32  {
    1.33  	XColor color;
    1.34  	Colormap cmap = DefaultColormap(dpy, screen);
    1.35 @@ -172,7 +172,7 @@
    1.36  }
    1.37  
    1.38  void
    1.39 -initfont(const char *fontstr)
    1.40 +setfont(const char *fontstr)
    1.41  {
    1.42  	char **missing, *def;
    1.43  	int i, n;