swc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/swc
Log | Files | Refs | README | LICENSE

commit 0df9b8d267fa40b0009a7cb730fc77d6f4c6f564
parent 531cd7d3a9ba5abae33fe54aa3a26b3defb79ad1
Author: Michael Forney <mforney@mforney.org>
Date:   Wed, 22 Jan 2014 03:49:41 -0800

Style

Diffstat:
Mlaunch/launch.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/launch/launch.c b/launch/launch.c @@ -110,8 +110,10 @@ static void stop_devices(bool fatal) die("FATAL: Your kernel does not support EVIOCREVOKE; " "input devices cannot be revoked: %s", strerror(errno)); } + close(launcher.input_fds[index]); } + launcher.num_input_fds = 0; }