all repos — st @ 6dc2b546eca11b198c64c9047106970a8d1f85e8

st (suckless terminal) config

Increment accuaracy in drawtime calculation

This way is a bit more accurate.
noname@inventati.org noname@inventati.org
commit

6dc2b546eca11b198c64c9047106970a8d1f85e8

parent

c27c731b9f77c1b1c99f3bde737be53996809fcb

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M st.cst.c

@@ -3992,7 +3992,7 @@ xev = actionfps;

clock_gettime(CLOCK_MONOTONIC, &now); drawtimeout.tv_sec = 0; - drawtimeout.tv_nsec = (1000/xfps) * 1E6; + drawtimeout.tv_nsec = (1000 * 1E6)/ xfps; tv = &drawtimeout; dodraw = 0;