Introduction
Introduction Statistics Contact Development Disclaimer Help
tBe more efficient in blinking. - st - [fork] customized build of st, the simpl…
git clone git://src.adamsgaard.dk/st
Log
Files
Refs
README
LICENSE
---
commit a77b01176a34de741485024e5e36002cff3c1124
parent 1e09726518b84091e80dfaf96632c122f6f446a6
Author: Christoph Lohmann <[email protected]>
Date: Fri, 26 Apr 2013 18:55:40 +0200
Be more efficient in blinking.
Diffstat:
M st.c | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/st.c b/st.c
t@@ -3442,9 +3442,13 @@ run(void) {
if(xev && !FD_ISSET(xfd, &rfd))
xev--;
- if(!FD_ISSET(cmdfd, &rfd) && !FD_ISSET(xfd, &rfd) \
- && !blinkset) {
- tv = NULL;
+ if(!FD_ISSET(cmdfd, &rfd) && !FD_ISSET(xfd, &rfd)) {
+ if(blinkset) {
+ drawtimeout.tv_usec = 1000 * \
+ blinktimeout;
+ } else {
+ tv = NULL;
+ }
}
}
}
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.