summaryrefslogtreecommitdiff
path: root/dwm.c
diff options
context:
space:
mode:
authoranselm@garbe.us <unknown>2010-05-27 08:20:42 +0100
committeranselm@garbe.us <unknown>2010-05-27 08:20:42 +0100
commitf83d61dfe8f24c9a50ccf7e4b903b8844367ccb7 (patch)
treeedb316989086210e4b7f1010c3717a793bca71dd /dwm.c
parentc6180949a759e936e57d7ec9d4cfee3379a39cef (diff)
removed DEBUG code and added 2010 to the copyright list
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/dwm.c b/dwm.c
index 3b18b2b..fedf069 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1406,21 +1406,6 @@ restack(Monitor *m) {
void
run(void) {
XEvent ev;
- static const char *evname[LASTEvent] = {
- [ButtonPress] = "buttonpress",
- [ClientMessage] = "clientmessage",
- [ConfigureRequest] = "configurerequest",
- [ConfigureNotify] = "configurenotify",
- [DestroyNotify] = "destroynotify",
- [EnterNotify] = "enternotify",
- [Expose] = "expose",
- [FocusIn] = "focusin",
- [KeyPress] = "keypress",
- [MappingNotify] = "mappingnotify",
- [MapRequest] = "maprequest",
- [PropertyNotify] = "propertynotify",
- [UnmapNotify] = "unmapnotify"
- };
/* main event loop */
XSync(dpy, False);
while(running && !XNextEvent(dpy, &ev)) {
@@ -2036,7 +2021,7 @@ zoom(const Arg *arg) {
int
main(int argc, char *argv[]) {
if(argc == 2 && !strcmp("-v", argv[1]))
- die("dwm-"VERSION", © 2006-2009 dwm engineers, see LICENSE for details\n");
+ die("dwm-"VERSION", © 2006-2010 dwm engineers, see LICENSE for details\n");
else if(argc != 1)
die("usage: dwm [-v]\n");
if(!setlocale(LC_CTYPE, "") || !XSupportsLocale())