From d7e17087ed2fc5eed57efa03e81460e3e41f7238 Mon Sep 17 00:00:00 2001 From: Anselm R. Garbe Date: Thu, 13 Jul 2006 01:55:54 +0200 Subject: new stuff (some warning elimination) --- wm.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'wm.c') diff --git a/wm.c b/wm.c index 1895015..6d67bfc 100644 --- a/wm.c +++ b/wm.c @@ -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); -- cgit v1.2.3