--- a/st.c 2014-04-06 22:50:06.236573047 -0700 +++ b/st.c 2014-04-06 22:54:20.660558444 -0700 @@ -3737,8 +3737,8 @@ else cresize(xw.fw, xw.fh); - gettimeofday(&lastblink, NULL); gettimeofday(&last, NULL); + lastblink = last; for(xev = actionfps;;) { long deltatime; @@ -3773,7 +3773,7 @@ if(blinktimeout && TIMEDIFF(now, lastblink) > blinktimeout) { tsetdirtattr(ATTR_BLINK); term.mode ^= MODE_BLINK; - gettimeofday(&lastblink, NULL); + lastblink = now; dodraw = 1; } deltatime = TIMEDIFF(now, last);