From f83d61dfe8f24c9a50ccf7e4b903b8844367ccb7 Mon Sep 17 00:00:00 2001 From: "anselm@garbe.us" Date: Thu, 27 May 2010 08:20:42 +0100 Subject: [PATCH] removed DEBUG code and added 2010 to the copyright list --- LICENSE | 2 +- dwm.c | 17 +---------------- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/LICENSE b/LICENSE index 86b2c94..059cf28 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT/X Consortium License -© 2006-2009 Anselm R Garbe +© 2006-2010 Anselm R Garbe © 2006-2007 Sander van Dijk © 2006-2009 Jukka Salmi © 2007-2009 Premysl Hruby 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()) -- 2.20.1