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>
(cherry picked from commit ecf42db476)
This commit is contained in:
Peter Hutterer
2011-03-18 20:56:51 +10:00
parent 92ff5f4318
commit e783c18775

View File

@@ -341,6 +341,7 @@ EventReadHwState(InputInfoPtr pInfo,
*hwRet = *hw;
return TRUE;
}
break;
case EV_KEY:
v = (ev.value ? TRUE : FALSE);
switch (ev.code) {