about summary refs log tree commit diff stats
path: root/wm.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-13 01:55:54 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-13 01:55:54 +0200
commitd7e17087ed2fc5eed57efa03e81460e3e41f7238 (patch)
treeefaa34fdd54e485be21c5e98f617678a61e4a9e1 /wm.c
parent8b59083eb13c0712e04d9a5b6d7bf4af5913c442 (diff)
downloaddwm-d7e17087ed2fc5eed57efa03e81460e3e41f7238.tar.gz
new stuff (some warning elimination)
Diffstat (limited to 'wm.c')
-rw-r--r--wm.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/wm.c b/wm.c
index 1895015..6d67bfc 100644
--- a/wm.c
+++ b/wm.c
@@ -174,12 +174,6 @@ cleanup()
 }
 
 void
-run(void *aux)
-{
-	spawn(dpy, aux);
-}
-
-void
 quit(void *aux)
 {
 	running = False;
@@ -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);