summaryrefslogtreecommitdiffstats
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
parentremoved unnecessary crap (diff)
downloaddwm-d7e17087ed2fc5eed57efa03e81460e3e41f7238.tar.gz
dwm-d7e17087ed2fc5eed57efa03e81460e3e41f7238.zip
new stuff (some warning elimination)
Diffstat (limited to '')
-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()
174} 174}
175 175
176void 176void
177run(void *aux)
178{
179 spawn(dpy, aux);
180}
181
182void
183quit(void *aux) 177quit(void *aux)
184{ 178{
185 running = False; 179 running = False;
@@ -250,8 +244,8 @@ main(int argc, char *argv[])
250 update_keys(); 244 update_keys();
251 245
252 /* style */ 246 /* style */
253 loadcolors(dpy, screen, &brush, BGCOLOR, FGCOLOR, BORDERCOLOR); 247 loadcolors(screen, &brush, BGCOLOR, FGCOLOR, BORDERCOLOR);
254 loadfont(dpy, &brush.font, FONT); 248 loadfont(&brush.font, FONT);
255 249
256 th = texth(&brush.font); 250 th = texth(&brush.font);
257 251