wm.c
changeset 33 e90449e03167
parent 32 082c75b937b5
child 34 cd30cce52b78
--- a/wm.c	Thu Jul 13 01:30:55 2006 +0200
+++ b/wm.c	Thu Jul 13 01:55:54 2006 +0200
@@ -174,12 +174,6 @@
 }
 
 void
-run(void *aux)
-{
-	spawn(dpy, aux);
-}
-
-void
 quit(void *aux)
 {
 	running = False;
@@ -250,8 +244,8 @@
 	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);