X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=wm.c;h=6d67bfc77830af2ddb149d9d80fa4824ec74bd96;hp=18950159428c47f43771c74c77a7c47fbd6cf643;hb=d7e17087ed2fc5eed57efa03e81460e3e41f7238;hpb=8b59083eb13c0712e04d9a5b6d7bf4af5913c442 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);