--- st.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/st.c b/st.c index cacb7f6..e10815f 100644 --- a/st.c +++ b/st.c _AT_@ -3968,8 +3968,7 @@ run(void) { dodraw = true; } deltatime = TIMEDIFF(now, last); - if(deltatime > (xev? (1000/xfps) : (1000/actionfps)) - || deltatime < 0) { + if(deltatime > 1000 / (xev ? xfps : actionfps)) { dodraw = true; last = now; } -- 1.8.4Received on Sat Apr 18 2015 - 18:45:54 CEST
This archive was generated by hypermail 2.3.0 : Sat Apr 18 2015 - 18:48:35 CEST