GNOME Bugzilla – Bug 155427
XGetKeyboardMapping call in reload_keymap() asks for wrong keycode_count
Last modified: 2004-12-22 21:47:04 UTC
As reported by Rob in bug 129918, the correct number of keycodes to request from XGetKeyboardMapping is max_keycode - min_keycode + 1. See also http://tronche.com/gui/x/xlib/input/XGetKeyboardMapping.html . I will attach a patch momentarily that fixes this.
Created attachment 32618 [details] [review] Request correct number of keycodes.
Comment on attachment 32618 [details] [review] Request correct number of keycodes. Should go on both branches.
committed to both branches.