diff options
| author | arg@10ksloc.org <unknown> | 2006-07-21 18:34:10 +0200 |
|---|---|---|
| committer | arg@10ksloc.org <unknown> | 2006-07-21 18:34:10 +0200 |
| commit | 0464e42231199d7a6ea45e46cf7798f2b6cf972c (patch) | |
| tree | a9fbd46c88b1f689572fdb3f93f0524e8ee23099 /main.c | |
| parent | simplified main.c, switching back to single urxvt usage (diff) | |
| download | dwm-0464e42231199d7a6ea45e46cf7798f2b6cf972c.tar.gz dwm-0464e42231199d7a6ea45e46cf7798f2b6cf972c.zip | |
some cleanups/fixes inspired by Jukka Salmi's feedback
Diffstat (limited to '')
| -rw-r--r-- | main.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -10,6 +10,7 @@ | |||
| 10 | #include <stdlib.h> | 10 | #include <stdlib.h> |
| 11 | #include <string.h> | 11 | #include <string.h> |
| 12 | #include <unistd.h> | 12 | #include <unistd.h> |
| 13 | #include <sys/select.h> | ||
| 13 | #include <X11/cursorfont.h> | 14 | #include <X11/cursorfont.h> |
| 14 | #include <X11/Xatom.h> | 15 | #include <X11/Xatom.h> |
| 15 | #include <X11/Xproto.h> | 16 | #include <X11/Xproto.h> |
| @@ -163,7 +164,7 @@ xerror(Display *dpy, XErrorEvent *ee) | |||
| 163 | int | 164 | int |
| 164 | main(int argc, char *argv[]) | 165 | main(int argc, char *argv[]) |
| 165 | { | 166 | { |
| 166 | int i, n; | 167 | int i; |
| 167 | unsigned int mask; | 168 | unsigned int mask; |
| 168 | fd_set rd; | 169 | fd_set rd; |
| 169 | Bool readin = True; | 170 | Bool readin = True; |
