aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorRoberto E. Vargas Caballero <k0ga@shike2.com>2012-09-16 10:47:21 +0200
committerRoberto E. Vargas Caballero <k0ga@shike2.com>2012-09-16 10:47:21 +0200
commit85849ce72aa4e9cee307a031b97777e9eba2d453 (patch)
tree31798999e662e16af5819c7b54dada0e60c61183 /config.def.h
parent15cc8754c2e272ebac6e86845859816e881da000 (diff)
downloadst-85849ce72aa4e9cee307a031b97777e9eba2d453.tar.gz
st-85849ce72aa4e9cee307a031b97777e9eba2d453.tar.bz2
st-85849ce72aa4e9cee307a031b97777e9eba2d453.zip
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(-)
Diffstat (limited to 'config.def.h')
0 files changed, 0 insertions, 0 deletions