Bug 21459 - bogus events sent out when XKB is disabled
Summary: bogus events sent out when XKB is disabled
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/Input/Core (show other bugs)
Version: 7.3 (2007.09)
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
Depends on:
Reported: 2009-04-28 03:31 UTC by Pierre Ossman
Modified: 2011-04-14 12:24 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:

patch (850 bytes, patch)
2009-04-28 03:31 UTC, Pierre Ossman
no flags Details | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre Ossman 2009-04-28 03:31:29 UTC
Created attachment 25226 [details] [review]

See xorg-devel:


"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.

bug/show.html.tmpl processed on Oct 21, 2016 at 23:41:04.
(provided by the Example extension).