diff options
author | Quentin Rameau <quinq@fifth.space> | 2015-09-28 00:18:35 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2015-09-28 00:27:09 +0200 |
commit | b048eacc9ddc6ca995783411d4df84c23f3a0351 (patch) | |
tree | c5e3be0188e30f35397c67dd05ca5413d8b0d059 /dmenu.c | |
parent | c42c3780274e6b12eaeab918cf7c13d2c36cf253 (diff) | |
download | dmenu-b048eacc9ddc6ca995783411d4df84c23f3a0351.tar.gz dmenu-b048eacc9ddc6ca995783411d4df84c23f3a0351.tar.bz2 dmenu-b048eacc9ddc6ca995783411d4df84c23f3a0351.zip |
Fix the conversion from microseconds to nanoseconds
Diffstat (limited to 'dmenu.c')
-rw-r--r-- | dmenu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |