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 <[email protected]>
---
 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) {
-- 
1.7.4

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to