[hackers] [st] Style inquisition. || Christoph Lohmann
commit e0ec2cf984ff8006b99cf4ca8590ceec7113daac
Author: Christoph Lohmann <20h_AT_r-36.net>
Date: Fri Feb 15 19:36:20 2013 +0100
Style inquisition.
diff --git a/st.c b/st.c
index f6e606b..0ae2c90 100644
--- a/st.c
+++ b/st.c
_AT_@ -3182,7 +3182,6 @@ run(void) {
}
gettimeofday(&now, NULL);
- /* usecs until (next) frame */
drawtimeout.tv_sec = 0;
drawtimeout.tv_usec = (1000/xfps) * 1000;
tv = &drawtimeout;
_AT_@ -3193,7 +3192,8 @@ run(void) {
if(FD_ISSET(xfd, &rfd))
xev = actionfps;
- if(TIMEDIFF(now, last) > (xev ? (1000/xfps) : (1000/actionfps))) {
+ if(TIMEDIFF(now, last) > \
+ (xev ? (1000/xfps) : (1000/actionfps))) {
while(XPending(xw.dpy)) {
XNextEvent(xw.dpy, &ev);
if(XFilterEvent(&ev, None))
Received on Fri Feb 15 2013 - 19:38:25 CET
This archive was generated by hypermail 2.3.0
: Thu Feb 21 2013 - 19:27:02 CET