dmenu

Simple dynamic menu for X
git clone https://git.sinitax.com/suckless/dmenu
Log | Files | Refs | README | LICENSE | sfeed.txt

commit b048eacc9ddc6ca995783411d4df84c23f3a0351
parent c42c3780274e6b12eaeab918cf7c13d2c36cf253
Author: Quentin Rameau <quinq@fifth.space>
Date:   Mon, 28 Sep 2015 00:18:35 +0200

Fix the conversion from microseconds to nanoseconds

Diffstat:
Mdmenu.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dmenu.c b/dmenu.c @@ -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 */