remove usleep as it is actually now not needed; v1.4.2
Iris Lightshard nilix@nilfm.cc
PGP Signature
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEkFh6dA+k/6CXFXU4O3+8IhROY5gFAmPWnzUACgkQO3+8IhRO Y5jvMRAAkactlxV4fwZz359/FTfPNW5hU0fD57xzKti0wGCb5m2/h8s+Dlgc8/8w YABH2ORj+OM651eKkHFw2o+6NpJV0Kh7cwfNr6fxl0111uSzuZw0IKFwCZr1E1Xn sZpobLHVudE403FEvuFJ+ezNHeGmNYyJxdsjbNhzdank+UJbM7AgYVWHMxKWQcFA h4JAmsdXS0PZDSLH6z51q5CQ4sMvpeAR8HnbTGt28wDyn0BC0SnvWC3Nq4vv4zLN RSeom7bLqp+Ra5ViG4VKJQDVjs/RZ9EP2SzXcR4P3CCRaaKhTWy1cc9TIcHZGqpJ D2lbCgfaSyCk+1x0XIJf4E1Tu12NZGGem3/Y2YG2ep0P3P4hfIXNfs4OG7JObUzd +y+FhVE8hZrPJVhA0ZT0EqrtMuc7kv2ti6jWUhD9GrPFnos7kvZQNA5zZC9EDdvK AOQTTwD9IQnOA5w5VVd/3mBhQN/yfCsYopXgRHeiAcBmXV9Dwa2Z4KRXJLPGSKxZ fED07eSR38jkKFaNZxegkw1T2gkVvqv46B2Vz/+h9vVdAapFC4nT9IB6Y7IBLWez 0BPJ5RJr7WzZtNGwmB5KKGXHDwdqA3LTVHJvs1NYJ/yU/+DXpiTtp6d21U5lAMLj 0oqEJ0Fys5y9homLGV+NIP4/fGfy5/ER9hEgD/sWYMeHiA5UyP8= =Hfr3 -----END PGP SIGNATURE-----
3 files changed,
3 insertions(+),
13 deletions(-)
M
config.def.h
→
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 */
M
event.c
→
event.c
@@ -18,10 +18,6 @@ #include "dat.h"
#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 @@ }
} if (kbLaunch) { - usleep(MICROSLEEP_DELAY); + // usleep(MICROSLEEP_DELAY); #ifdef CENTERVMAX centerclient(c, monitor, 1); #else
M
main.c
→
main.c
@@ -22,8 +22,8 @@ #include "fns.h"
#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;