Be more efficient in blinking.

master
Christoph Lohmann 12 years ago
parent 1e09726518
commit a77b01176a
  1. 8
      st.c

@ -3442,12 +3442,16 @@ run(void) {
if(xev && !FD_ISSET(xfd, &rfd)) if(xev && !FD_ISSET(xfd, &rfd))
xev--; xev--;
if(!FD_ISSET(cmdfd, &rfd) && !FD_ISSET(xfd, &rfd) \ if(!FD_ISSET(cmdfd, &rfd) && !FD_ISSET(xfd, &rfd)) {
&& !blinkset) { if(blinkset) {
drawtimeout.tv_usec = 1000 * \
blinktimeout;
} else {
tv = NULL; tv = NULL;
} }
} }
} }
}
} }
void void

Loading…
Cancel
Save