diff options
author | Anselm R Garbe <garbeam@gmail.com> | 2008-03-05 18:48:33 +0000 |
---|---|---|
committer | Anselm R Garbe <garbeam@gmail.com> | 2008-03-05 18:48:33 +0000 |
commit | 88c8ead3e8a22d311964c2a3ea0e384044f546c9 (patch) | |
tree | 76cbde4a705eea36c65f4b113c4815af0abd290e /dwm.c | |
parent | 2e958372200065bff8f19ca88d39e627df4a2f67 (diff) | |
download | dwm-88c8ead3e8a22d311964c2a3ea0e384044f546c9.tar dwm-88c8ead3e8a22d311964c2a3ea0e384044f546c9.tar.gz dwm-88c8ead3e8a22d311964c2a3ea0e384044f546c9.tar.bz2 |
removed some more useless clunk
Diffstat (limited to 'dwm.c')
-rw-r--r-- | dwm.c | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -183,15 +183,12 @@ int xerror(Display *dpy, XErrorEvent *ee); int xerrordummy(Display *dpy, XErrorEvent *ee); int xerrorstart(Display *dpy, XErrorEvent *ee); void zoom(const char *arg); -void selectview(const char *arg); /* variables */ char stext[256], buf[256]; -double mwfact; int screen, sx, sy, sw, sh; int (*xerrorxlib)(Display *, XErrorEvent *); -unsigned int bh, bpos; -unsigned int blw = 0; +unsigned int bh, blw = 0; unsigned int numlockmask = 0; void (*handler[LASTEvent]) (XEvent *) = { [ButtonPress] = buttonpress, @@ -219,7 +216,7 @@ Client *stack = NULL; Cursor cursor[CurLast]; Display *dpy; DC dc = {0}; -Layout *lt; +Layout *lt = NULL; Window root, barwin; /* configuration, allows nested code to access above variables */ @@ -362,7 +359,6 @@ checkotherwm(void) { void cleanup(void) { - close(STDIN_FILENO); while(stack) { unban(stack); @@ -372,7 +368,6 @@ cleanup(void) { XFreeFontSet(dpy, dc.font.set); else XFreeFont(dpy, dc.font.xfont); - XUngrabKey(dpy, AnyKey, AnyModifier, root); XFreePixmap(dpy, dc.drawable); XFreeGC(dpy, dc.gc); |