about summary refs log tree commit diff stats
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
parentc6180949a759e936e57d7ec9d4cfee3379a39cef (diff)
downloaddwm-f83d61dfe8f24c9a50ccf7e4b903b8844367ccb7.tar.gz
removed DEBUG code and added 2010 to the copyright list 5.8
-rw-r--r--LICENSE2
-rw-r--r--dwm.c17
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 <garbeam at gmail dot com>
+© 2006-2010 Anselm R Garbe <anselm@garbe.us>
 © 2006-2007 Sander van Dijk <a dot h dot vandijk at gmail dot com>
 © 2006-2009 Jukka Salmi <jukka at salmi dot ch>
 © 2007-2009 Premysl Hruby <dfenze at gmail dot com>
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())
3'>203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336