mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 05:01:09 +00:00
Patch from Shivram U <shivaram.upadhyayula@wipro.com>
Fri Oct 4 14:49:04 2002 Owen Taylor <otaylor@redhat.com> Patch from Shivram U <shivaram.upadhyayula@wipro.com> * gdk/x11/gdkkeys-x11.c (update_keymaps): Increased the keycount to (max_keycode - min_keycode) + 1 from (max_keycode - min_keycode). (update_keymaps), (gdk_keymap_get_entries_for_keyval) looping through less than or equal to max_keycode. (#79184)
This commit is contained in:
parent
bb763b5cb4
commit
fd83bdbadb
@ -1,3 +1,12 @@
|
||||
Fri Oct 4 14:49:04 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
Patch from Shivram U <shivaram.upadhyayula@wipro.com>
|
||||
|
||||
* gdk/x11/gdkkeys-x11.c (update_keymaps): Increased the keycount to
|
||||
(max_keycode - min_keycode) + 1 from (max_keycode - min_keycode).
|
||||
(update_keymaps), (gdk_keymap_get_entries_for_keyval) looping through
|
||||
less than or equal to max_keycode. (#79184)
|
||||
|
||||
2002-10-04 jacob berkman <jacob@ximian.com>
|
||||
|
||||
* gdk/x11/gdkscreen-x11.c (init_xinerama_support): make legal C
|
||||
|
@ -1,3 +1,12 @@
|
||||
Fri Oct 4 14:49:04 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
Patch from Shivram U <shivaram.upadhyayula@wipro.com>
|
||||
|
||||
* gdk/x11/gdkkeys-x11.c (update_keymaps): Increased the keycount to
|
||||
(max_keycode - min_keycode) + 1 from (max_keycode - min_keycode).
|
||||
(update_keymaps), (gdk_keymap_get_entries_for_keyval) looping through
|
||||
less than or equal to max_keycode. (#79184)
|
||||
|
||||
2002-10-04 jacob berkman <jacob@ximian.com>
|
||||
|
||||
* gdk/x11/gdkscreen-x11.c (init_xinerama_support): make legal C
|
||||
|
@ -1,3 +1,12 @@
|
||||
Fri Oct 4 14:49:04 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
Patch from Shivram U <shivaram.upadhyayula@wipro.com>
|
||||
|
||||
* gdk/x11/gdkkeys-x11.c (update_keymaps): Increased the keycount to
|
||||
(max_keycode - min_keycode) + 1 from (max_keycode - min_keycode).
|
||||
(update_keymaps), (gdk_keymap_get_entries_for_keyval) looping through
|
||||
less than or equal to max_keycode. (#79184)
|
||||
|
||||
2002-10-04 jacob berkman <jacob@ximian.com>
|
||||
|
||||
* gdk/x11/gdkscreen-x11.c (init_xinerama_support): make legal C
|
||||
|
@ -1,3 +1,12 @@
|
||||
Fri Oct 4 14:49:04 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
Patch from Shivram U <shivaram.upadhyayula@wipro.com>
|
||||
|
||||
* gdk/x11/gdkkeys-x11.c (update_keymaps): Increased the keycount to
|
||||
(max_keycode - min_keycode) + 1 from (max_keycode - min_keycode).
|
||||
(update_keymaps), (gdk_keymap_get_entries_for_keyval) looping through
|
||||
less than or equal to max_keycode. (#79184)
|
||||
|
||||
2002-10-04 jacob berkman <jacob@ximian.com>
|
||||
|
||||
* gdk/x11/gdkscreen-x11.c (init_xinerama_support): make legal C
|
||||
|
@ -1,3 +1,12 @@
|
||||
Fri Oct 4 14:49:04 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
Patch from Shivram U <shivaram.upadhyayula@wipro.com>
|
||||
|
||||
* gdk/x11/gdkkeys-x11.c (update_keymaps): Increased the keycount to
|
||||
(max_keycode - min_keycode) + 1 from (max_keycode - min_keycode).
|
||||
(update_keymaps), (gdk_keymap_get_entries_for_keyval) looping through
|
||||
less than or equal to max_keycode. (#79184)
|
||||
|
||||
2002-10-04 jacob berkman <jacob@ximian.com>
|
||||
|
||||
* gdk/x11/gdkscreen-x11.c (init_xinerama_support): make legal C
|
||||
|
@ -1,3 +1,12 @@
|
||||
Fri Oct 4 14:49:04 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
Patch from Shivram U <shivaram.upadhyayula@wipro.com>
|
||||
|
||||
* gdk/x11/gdkkeys-x11.c (update_keymaps): Increased the keycount to
|
||||
(max_keycode - min_keycode) + 1 from (max_keycode - min_keycode).
|
||||
(update_keymaps), (gdk_keymap_get_entries_for_keyval) looping through
|
||||
less than or equal to max_keycode. (#79184)
|
||||
|
||||
2002-10-04 jacob berkman <jacob@ximian.com>
|
||||
|
||||
* gdk/x11/gdkscreen-x11.c (init_xinerama_support): make legal C
|
||||
|
@ -227,7 +227,7 @@ update_keymaps (GdkKeymapX11 *keymap_x11)
|
||||
XFreeModifiermap (keymap_x11->mod_keymap);
|
||||
|
||||
keymap_x11->keymap = XGetKeyboardMapping (xdisplay, keymap_x11->min_keycode,
|
||||
keymap_x11->max_keycode - keymap_x11->min_keycode,
|
||||
keymap_x11->max_keycode - keymap_x11->min_keycode + 1,
|
||||
&keymap_x11->keysyms_per_keycode);
|
||||
|
||||
|
||||
@ -237,7 +237,7 @@ update_keymaps (GdkKeymapX11 *keymap_x11)
|
||||
* we we fudge the map here.
|
||||
*/
|
||||
keycode = keymap_x11->min_keycode;
|
||||
while (keycode < keymap_x11->max_keycode)
|
||||
while (keycode <= keymap_x11->max_keycode)
|
||||
{
|
||||
KeySym *syms = keymap_x11->keymap + (keycode - keymap_x11->min_keycode) * keymap_x11->keysyms_per_keycode;
|
||||
/* Check both groups */
|
||||
@ -529,7 +529,7 @@ gdk_keymap_get_entries_for_keyval (GdkKeymap *keymap,
|
||||
gint keycode;
|
||||
|
||||
keycode = keymap_x11->min_keycode;
|
||||
while (keycode < keymap_x11->max_keycode)
|
||||
while (keycode <= keymap_x11->max_keycode)
|
||||
{
|
||||
const KeySym *syms = map + (keycode - keymap_x11->min_keycode) * keymap_x11->keysyms_per_keycode;
|
||||
gint i = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user