Bug 39177

Summary: xcb_is_modifier_key misses some modifiers.
Product: XCB Reporter: Andreas Wettstein <wettstae>
Component: UtilsAssignee: xcb mailing list dummy <xcb>
Status: RESOLVED FIXED QA Contact: xcb mailing list dummy <xcb>
Severity: normal    
Priority: medium Keywords: patch
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
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.