Fix from Rob to correct requested number of keycodes (#155247)

2004-10-15  Elijah Newren  <newren@math.utah.edu>

	* src/keybindings.c (reload_keymap): Fix from Rob to correct
	requested number of keycodes (#155247)
This commit is contained in:
Elijah Newren 2004-10-15 22:43:52 +00:00 committed by Elijah Newren
parent b6679a65f2
commit 3c974b87b4
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-10-15 Elijah Newren <newren@math.utah.edu>
* src/keybindings.c (reload_keymap): Fix from Rob to correct
requested number of keycodes (#155247)
2004-10-13 Elijah Newren <newren@math.utah.edu>
Code cleanup

View File

@ -429,7 +429,7 @@ reload_keymap (MetaDisplay *display)
display->keymap = XGetKeyboardMapping (display->xdisplay,
display->min_keycode,
display->max_keycode -
display->min_keycode,
display->min_keycode + 1,
&display->keysyms_per_keycode);
}