Bug 21459

Summary: bogus events sent out when XKB is disabled
Product: xorg Reporter: Pierre Ossman <pierre-bugzilla>
Component: Server/Input/CoreAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: peter.hutterer
Version: 7.3 (2007.09)   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
patch none

Description Pierre Ossman 2009-04-28 03:31:29 UTC
Created attachment 25226 [details] [review]
patch

See xorg-devel:

http://lists.x.org/archives/xorg-devel/2009-April/000744.html

"After a whole lot of digging, I've managed to trace this problem to its
source. Basically it's XKB that's sending events even though the
extension is disabled, resulting in more or less a random type value
(which on this systems happens to be interpreted as XError).

On 1.5 and 1.6, the code needs to check for noXkbExtension (see patch
below). 1.7 and beyond is a bit more complex given the big rewrite
going on in Xi. I can't say I see many checks for no XkbExtension at
all in the new code."
Comment 1 Peter Hutterer 2009-04-29 19:02:13 UTC
ACK from me, this should go into the respective branches.
Comment 2 Peter Hutterer 2009-04-30 16:57:44 UTC
nominated for 1.5 and 1.6.
Comment 3 Daniel Stone 2011-04-14 12:24:31 UTC
Closing as FIXED: I'm not sure if it went into 1.5/1.6 to be honest, but they're no longer supported and XKB has been mandatory since 1.7.

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.