has been used within the last second, instead of more than a second ago.
Should fix ~5s delay on X client startup when ObscureKeystrokeTiming is
enabled. bz#3820, ok (& sigh) djm@
OpenBSD-Commit-ID:
b741011e81fb3e3d42711d9bd3ed8a959924dee4
-/* $OpenBSD: channels.c,v 1.445 2025/05/29 13:27:27 dtucker Exp $ */
+/* $OpenBSD: channels.c,v 1.446 2025/06/02 14:09:34 dtucker Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
if (c->lastused > lastused)
lastused = c->lastused;
}
- return lastused != 0 && monotime() > lastused + 1;
+ return lastused != 0 && monotime() <= lastused + 1;
}