Browse Source

Fix the conversion from microseconds to nanoseconds

master
Quentin Rameau 9 years ago
committed by Hiltjo Posthuma
parent
commit
b048eacc9d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      dmenu.c

+ 1
- 1
dmenu.c View File

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


Loading…
Cancel
Save