remove usleep as it is actually now not needed; v1.4.2
This commit is contained in:
parent
db9b136766
commit
de0bc0397a
3 changed files with 3 additions and 13 deletions
|
@ -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
|
||||
*/
|
||||
|
|
6
event.c
6
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
|
||||
|
|
4
main.c
4
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;
|
||||
|
|
Loading…
Reference in a new issue