JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Remove timeout in the main loop
authorRoberto E. Vargas Caballero <k0ga@shike2.com>
Sun, 16 Sep 2012 08:47:21 +0000 (10:47 +0200)
committerRoberto E. Vargas Caballero <k0ga@shike2.com>
Sun, 16 Sep 2012 08:47:21 +0000 (10:47 +0200)
commit85849ce72aa4e9cee307a031b97777e9eba2d453
tree31798999e662e16af5819c7b54dada0e60c61183
parent15cc8754c2e272ebac6e86845859816e881da000
Remove timeout in the main loop

The main loop waits until there is some data to read in file descriptors of
the X server or the pseudo tty. But it uses a timeout in select(), which
causes that st awake each 20 ms, even it doesn't have something to do. This
patch removes this problem removing the timeout, which is not needed.
---
 TODO |    1 -
 st.c |   27 +++------------------------
 2 files changed, 3 insertions(+), 25 deletions(-)
TODO
st.c