Bug 24785

Summary: Key repeat events have deviceid 0
Product: xorg Reporter: Carlos Garnacho Parro <carlosg>
Component: Server/GeneralAssignee: Peter Hutterer <peter.hutterer>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 24075    

Description Carlos Garnacho Parro 2009-10-29 04:33:23 UTC
I'm actually not sure if this is due to XI2 or Xkb, but I'm noticing that key repeats are reporting deviceid = 0 in the event fields. This can be seen with xinput test-xi2.
Comment 1 Peter Hutterer 2009-10-29 18:42:11 UTC
this is almost certainly a server bug, the library doesn't treat key repeats in a special manner.
Comment 2 Peter Hutterer 2009-12-07 22:26:55 UTC
commit b584c224a888c9e7f92d7e49021f74232a727c7f
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Fri Oct 30 12:11:41 2009 +1000

    Set the source and deviceid for key repeat events (#24785)
    

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.