dwm-meillo

diff wm.c @ 33:e90449e03167

new stuff (some warning elimination)
author Anselm R. Garbe <garbeam@wmii.de>
date Thu, 13 Jul 2006 01:55:54 +0200
parents 082c75b937b5
children cd30cce52b78
line diff
     1.1 --- a/wm.c	Thu Jul 13 01:30:55 2006 +0200
     1.2 +++ b/wm.c	Thu Jul 13 01:55:54 2006 +0200
     1.3 @@ -174,12 +174,6 @@
     1.4  }
     1.5  
     1.6  void
     1.7 -run(void *aux)
     1.8 -{
     1.9 -	spawn(dpy, aux);
    1.10 -}
    1.11 -
    1.12 -void
    1.13  quit(void *aux)
    1.14  {
    1.15  	running = False;
    1.16 @@ -250,8 +244,8 @@
    1.17  	update_keys();
    1.18  
    1.19  	/* style */
    1.20 -	loadcolors(dpy, screen, &brush, BGCOLOR, FGCOLOR, BORDERCOLOR);
    1.21 -	loadfont(dpy, &brush.font, FONT);
    1.22 +	loadcolors(screen, &brush, BGCOLOR, FGCOLOR, BORDERCOLOR);
    1.23 +	loadfont(&brush.font, FONT);
    1.24  
    1.25  	th = texth(&brush.font);
    1.26