aboutsummaryrefslogtreecommitdiffstats
path: root/wm.c
diff options
context:
space:
mode:
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);