removed DEBUG code and added 2010 to the copyright list
f83d61df
2 file(s) · +2 −17
| 1 | 1 | MIT/X Consortium License |
|
| 2 | 2 | ||
| 3 | - | © 2006-2009 Anselm R Garbe <garbeam at gmail dot com> |
|
| 3 | + | © 2006-2010 Anselm R Garbe <anselm@garbe.us> |
|
| 4 | 4 | © 2006-2007 Sander van Dijk <a dot h dot vandijk at gmail dot com> |
|
| 5 | 5 | © 2006-2009 Jukka Salmi <jukka at salmi dot ch> |
|
| 6 | 6 | © 2007-2009 Premysl Hruby <dfenze at gmail dot com> |
| 1406 | 1406 | void |
|
| 1407 | 1407 | run(void) { |
|
| 1408 | 1408 | XEvent ev; |
|
| 1409 | - | static const char *evname[LASTEvent] = { |
|
| 1410 | - | [ButtonPress] = "buttonpress", |
|
| 1411 | - | [ClientMessage] = "clientmessage", |
|
| 1412 | - | [ConfigureRequest] = "configurerequest", |
|
| 1413 | - | [ConfigureNotify] = "configurenotify", |
|
| 1414 | - | [DestroyNotify] = "destroynotify", |
|
| 1415 | - | [EnterNotify] = "enternotify", |
|
| 1416 | - | [Expose] = "expose", |
|
| 1417 | - | [FocusIn] = "focusin", |
|
| 1418 | - | [KeyPress] = "keypress", |
|
| 1419 | - | [MappingNotify] = "mappingnotify", |
|
| 1420 | - | [MapRequest] = "maprequest", |
|
| 1421 | - | [PropertyNotify] = "propertynotify", |
|
| 1422 | - | [UnmapNotify] = "unmapnotify" |
|
| 1423 | - | }; |
|
| 1424 | 1409 | /* main event loop */ |
|
| 1425 | 1410 | XSync(dpy, False); |
|
| 1426 | 1411 | while(running && !XNextEvent(dpy, &ev)) { |
|
| 2036 | 2021 | int |
|
| 2037 | 2022 | main(int argc, char *argv[]) { |
|
| 2038 | 2023 | if(argc == 2 && !strcmp("-v", argv[1])) |
|
| 2039 | - | die("dwm-"VERSION", © 2006-2009 dwm engineers, see LICENSE for details\n"); |
|
| 2024 | + | die("dwm-"VERSION", © 2006-2010 dwm engineers, see LICENSE for details\n"); |
|
| 2040 | 2025 | else if(argc != 1) |
|
| 2041 | 2026 | die("usage: dwm [-v]\n"); |
|
| 2042 | 2027 | if(!setlocale(LC_CTYPE, "") || !XSupportsLocale()) |
|