aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dmenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dmenu.c b/dmenu.c
index aa6e5d8..cf5d976 100644
--- a/dmenu.c
+++ b/dmenu.c
@@ -203,7 +203,7 @@ drawmenu(void)
203static void 203static void
204grabkeyboard(void) 204grabkeyboard(void)
205{ 205{
206 struct timespec ts = { .tv_sec = 1, .tv_nsec = 0 }; 206 struct timespec ts = { .tv_sec = 0, .tv_nsec = 1000000 };
207 int i; 207 int i;
208 208
209 /* try to grab keyboard, we may have to wait for another process to ungrab */ 209 /* try to grab keyboard, we may have to wait for another process to ungrab */