diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-03-18 20:56:51 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-03-28 16:17:31 +1000 |
commit | ecf42db47629cadc7a332398a1784bb0acbd6511 (patch) | |
tree | a7ad29ce815166896f08249c09ff58a53110458f | |
parent | b7acee2346494846e80d2fe25f699081a51c49a2 (diff) |
eventcomm: add a missing break statement
If the EV_SYN wasn't SYN_REPORT, we'd fall through to key event processing,
which almost certainly won't do what we want and/or need.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Cyril Brulebois <kibi@debian.org>
-rw-r--r-- | src/eventcomm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/eventcomm.c b/src/eventcomm.c index d394d3f..15f9d2d 100644 --- a/src/eventcomm.c +++ b/src/eventcomm.c @@ -340,6 +340,7 @@ EventReadHwState(InputInfoPtr pInfo, *hwRet = *hw; return TRUE; } + break; case EV_KEY: v = (ev.value ? TRUE : FALSE); switch (ev.code) { |