X-Git-Url: https://jasonwoof.com/gitweb/?p=st.git;a=blobdiff_plain;f=st.c;fp=st.c;h=db9a332206c168bfb818f75ce08702608ba35d46;hp=fc913340fdd7760179445211d856dfcb22090cf6;hb=708b697ed77e1ba4e96399ed6cb0f73a37565321;hpb=09f5d98251469070b76f3911cc6a83d977871656 diff --git a/st.c b/st.c index fc91334..db9a332 100644 --- a/st.c +++ b/st.c @@ -3922,6 +3922,9 @@ run(void) { TIMEDIFF(now, lastblink))); } + drawtimeout.tv_sec = \ + drawtimeout.tv_nsec / 1E9; + drawtimeout.tv_nsec %= (long)1E9; } else { tv = NULL; }