]> git.armaanb.net Git - dwm.git/blobdiff - wm.c
new stuff (some warning elimination)
[dwm.git] / wm.c
diff --git a/wm.c b/wm.c
index 18950159428c47f43771c74c77a7c47fbd6cf643..6d67bfc77830af2ddb149d9d80fa4824ec74bd96 100644 (file)
--- 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);