new stuff (some warning elimination)

This commit is contained in:
Anselm R. Garbe
2006-07-13 01:55:54 +02:00
parent 8b59083eb1
commit d7e17087ed
7 changed files with 44 additions and 47 deletions

10
wm.c
View File

@ -173,12 +173,6 @@ cleanup()
XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime);
}
void
run(void *aux)
{
spawn(dpy, aux);
}
void
quit(void *aux)
{
@ -250,8 +244,8 @@ main(int argc, char *argv[])
update_keys();
/* style */
loadcolors(dpy, screen, &brush, BGCOLOR, FGCOLOR, BORDERCOLOR);
loadfont(dpy, &brush.font, FONT);
loadcolors(screen, &brush, BGCOLOR, FGCOLOR, BORDERCOLOR);
loadfont(&brush.font, FONT);
th = texth(&brush.font);