commit 0df9b8d
Michael Forney
·
2014-01-22 11:49:41 +0000 UTC
parent 531cd7d
Style
1 files changed,
+2,
-0
+2,
-0
1@@ -110,8 +110,10 @@ static void stop_devices(bool fatal)
2 die("FATAL: Your kernel does not support EVIOCREVOKE; "
3 "input devices cannot be revoked: %s", strerror(errno));
4 }
5+
6 close(launcher.input_fds[index]);
7 }
8+
9 launcher.num_input_fds = 0;
10 }
11