[hackers] [st][PATCH 3/3] Assign dodraw at the end of block

From: Ivan Tham <pickfire_AT_riseup.net>
Date: Thu, 19 Mar 2020 09:12:01 +0800

Keep congruency with the previous block.
---
 x.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/x.c b/x.c
index 0d9f48f..01fd62a 100644
--- a/x.c
+++ b/x.c
_AT_@ -1915,8 +1915,8 @@ run(void)
 		}
 		deltatime = TIMEDIFF(now, last);
 		if (deltatime > 1000 / (xev ? xfps : actionfps)) {
-			dodraw = 1;
 			last = now;
+			dodraw = 1;
 		}
 
 		if (!dodraw)
-- 
2.25.2
Received on Thu Mar 19 2020 - 02:12:01 CET

This archive was generated by hypermail 2.3.0 : Thu Mar 19 2020 - 02:24:43 CET