Bug 39177 - xcb_is_modifier_key misses some modifiers.
Summary: xcb_is_modifier_key misses some modifiers.
Alias: None
Product: XCB
Classification: Unclassified
Component: Utils (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: xcb mailing list dummy
QA Contact: xcb mailing list dummy
Keywords: patch
Depends on:
Reported: 2011-07-12 12:13 UTC by Andreas Wettstein
Modified: 2012-01-11 08:54 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Description Andreas Wettstein 2011-07-12 12:13:20 UTC
The function xcb_is_modifier_key, defined in xcb/util-keysyms, file keysyms/keysyms.c, does not recognize ISO_Level5_Shift, ISO_Level5_Latch, and ISO_Level5_Lock as modifiers.

This is the same problem (with the same fix) as reported for Xlib in bug 21910, and was probably introduced because the keysyms in keysymdef.h are not listed in ascending order: ISO_Last_Group_Lock appears after  ISO_Level5_Lock, but has a smaller value.
Comment 1 Andreas Wettstein 2011-10-21 11:37:02 UTC
A patch is here: http://patchwork.freedesktop.org/patch/6622/
Comment 2 Julien Danjou 2012-01-11 08:54:34 UTC
Patch merged.

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.