commit 3f320bc
Michael Forney
·
2013-11-24 04:31:38 +0000 UTC
parent d8d8757
Fix EVIOCREVOKE Shame on me for copying systemd.
1 files changed,
+1,
-1
+1,
-1
1@@ -95,7 +95,7 @@ static void stop_devices()
2
3 for (index = 0; index < launcher.num_input_fds; ++index)
4 {
5- if (ioctl(launcher.input_fds[index], EVIOCREVOKE, 1) == -1
6+ if (ioctl(launcher.input_fds[index], EVIOCREVOKE, 0) == -1
7 && errno == EINVAL)
8 {
9 static bool warned = false;