mirror of git://git.suckless.org/dwm
removed DEBUG code and added 2010 to the copyright list
This commit is contained in:
parent
c6180949a7
commit
f83d61dfe8
2
LICENSE
2
LICENSE
|
@ -1,6 +1,6 @@
|
||||||
MIT/X Consortium License
|
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-2007 Sander van Dijk <a dot h dot vandijk at gmail dot com>
|
||||||
© 2006-2009 Jukka Salmi <jukka at salmi dot ch>
|
© 2006-2009 Jukka Salmi <jukka at salmi dot ch>
|
||||||
© 2007-2009 Premysl Hruby <dfenze at gmail dot com>
|
© 2007-2009 Premysl Hruby <dfenze at gmail dot com>
|
||||||
|
|
17
dwm.c
17
dwm.c
|
@ -1406,21 +1406,6 @@ restack(Monitor *m) {
|
||||||
void
|
void
|
||||||
run(void) {
|
run(void) {
|
||||||
XEvent ev;
|
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 */
|
/* main event loop */
|
||||||
XSync(dpy, False);
|
XSync(dpy, False);
|
||||||
while(running && !XNextEvent(dpy, &ev)) {
|
while(running && !XNextEvent(dpy, &ev)) {
|
||||||
|
@ -2036,7 +2021,7 @@ zoom(const Arg *arg) {
|
||||||
int
|
int
|
||||||
main(int argc, char *argv[]) {
|
main(int argc, char *argv[]) {
|
||||||
if(argc == 2 && !strcmp("-v", argv[1]))
|
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)
|
else if(argc != 1)
|
||||||
die("usage: dwm [-v]\n");
|
die("usage: dwm [-v]\n");
|
||||||
if(!setlocale(LC_CTYPE, "") || !XSupportsLocale())
|
if(!setlocale(LC_CTYPE, "") || !XSupportsLocale())
|
||||||
|
|
Loading…
Reference in New Issue