summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lohmann2013-02-15 19:36:20 +0100
committerChristoph Lohmann2013-02-15 19:36:20 +0100
commite0ec2cf984ff8006b99cf4ca8590ceec7113daac (patch)
treeff9020f76c9ddb533a96a7da91a0fd9e58165a10
parenta92a678e252aeeb54537dfa7e3f106eac88f8d77 (diff)
downloadst-e0ec2cf984ff8006b99cf4ca8590ceec7113daac.tar.gz
st-e0ec2cf984ff8006b99cf4ca8590ceec7113daac.tar.xz
st-e0ec2cf984ff8006b99cf4ca8590ceec7113daac.zip
Style inquisition.
-rw-r--r--st.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/st.c b/st.c
index f6e606b..0ae2c90 100644
--- a/st.c
+++ b/st.c
@@ -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;
@@ -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))