tFix the conversion from microseconds to nanoseconds - dmenu - Dmenu fork with xft fonts.
(HTM) git clone git://r-36.net/dmenu
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit b048eacc9ddc6ca995783411d4df84c23f3a0351
(DIR) parent c42c3780274e6b12eaeab918cf7c13d2c36cf253
(HTM) Author: Quentin Rameau <quinq@fifth.space>
Date: Mon, 28 Sep 2015 00:18:35 +0200
Fix the conversion from microseconds to nanoseconds
Diffstat:
dmenu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/dmenu.c b/dmenu.c
t@@ -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 */