1
0

Fix the conversion from microseconds to nanoseconds

This commit is contained in:
Quentin Rameau 2015-09-28 00:18:35 +02:00 committed by Hiltjo Posthuma
parent 57c147c7dd
commit 84184ff29d

View File

@ -203,7 +203,7 @@ drawmenu(void)
static void
grabkeyboard(void)
{
struct timespec ts = { .tv_sec = 1, .tv_nsec = 0 };
struct timespec ts = { .tv_sec = 0, .tv_nsec = 1000000 };
int i;
/* try to grab keyboard, we may have to wait for another process to ungrab */