--- 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);
- [dev] [st] [patch] redundant gettimeofday Toaster Toaster
- Re: [dev] [st] [patch] redundant gettimeo... Christoph Lohmann
- Re: [dev] [st] [patch] redundant gett... Toaster Toaster
- Re: [dev] [st] [patch] redundant ... Roberto E. Vargas Caballero
- Re: [dev] [st] [patch] redund... Christoph Lohmann
- Re: [dev] [st] [patch] redund... Roberto E. Vargas Caballero
- Re: [dev] [st] [patch] r... Christoph Lohmann
