summaryrefslogtreecommitdiffstats
path: root/dwm.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-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) {
1406void 1406void
1407run(void) { 1407run(void) {
1408 XEvent ev; 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 /* main event loop */ 1409 /* main event loop */
1425 XSync(dpy, False); 1410 XSync(dpy, False);
1426 while(running && !XNextEvent(dpy, &ev)) { 1411 while(running && !XNextEvent(dpy, &ev)) {
@@ -2036,7 +2021,7 @@ zoom(const Arg *arg) {
2036int 2021int
2037main(int argc, char *argv[]) { 2022main(int argc, char *argv[]) {
2038 if(argc == 2 && !strcmp("-v", argv[1])) 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 else if(argc != 1) 2025 else if(argc != 1)
2041 die("usage: dwm [-v]\n"); 2026 die("usage: dwm [-v]\n");
2042 if(!setlocale(LC_CTYPE, "") || !XSupportsLocale()) 2027 if(!setlocale(LC_CTYPE, "") || !XSupportsLocale())