diff --git a/config.def.h b/config.def.h index 10ddae9..3b2221d 100644 --- a/config.def.h +++ b/config.def.h @@ -102,12 +102,6 @@ * BEHAVIOR * [Everything in this section is optional unless otherwise noted] ***********/ -/* Microseconds to wait before centering terminal windows spawned by keyboard; - * if your system is wicked fast you can lower this; if very old/slow, you may - * have to raise it. - */ -#define MICROSLEEP_DELAY 100000 - /* This sets the size ratio for windows spawned via keyboard or * center-snapped; CENTERNUM should be >= 2, so use 2/4 instead of 1/2 */ diff --git a/event.c b/event.c index 456dd10..095672a 100644 --- a/event.c +++ b/event.c @@ -18,10 +18,6 @@ #include "fns.h" #include "patchlevel.h" -#ifndef MICROSLEEP_DELAY -#define MICROSLEEP_DELAY 100000 -#endif - void mainloop(int shape_event) { static XEvent ev; static Client* c; @@ -241,7 +237,7 @@ void mapreq(XMapRequestEvent* e) { } if (kbLaunch) { - usleep(MICROSLEEP_DELAY); + // usleep(MICROSLEEP_DELAY); #ifdef CENTERVMAX centerclient(c, monitor, 1); #else diff --git a/main.c b/main.c index c2c833f..f34565c 100644 --- a/main.c +++ b/main.c @@ -22,8 +22,8 @@ #include "patchlevel.h" char* version[] = { - "ryudo version 1.4.1\nCopyright (c) 1994-1996 David Hogan,\n(c) 2004 Russ " - "Cox,\n(c) 2019-2022 Derek Stevens", + "ryudo version 1.4.2\nCopyright (c) 1994-1996 David Hogan,\n(c) 2004 Russ " + "Cox,\n(c) 2019-2023 Derek Stevens", 0}; Display* dpy;