Remove GDK_LOCK_MASK before calling gdk_keymap_translate_keyboard_state so
Tue Aug 12 14:27:42 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtkkeyhash.c (_gtk_key_hash_lookup): Remove GDK_LOCK_MASK before calling gdk_keymap_translate_keyboard_state so bindings and accelerators are independent of the Caps-lock key. (#115384, reported by Toni Willberg)
This commit is contained in:
@ -1,3 +1,11 @@
|
|||||||
|
Tue Aug 12 14:27:42 2003 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtkkeyhash.c (_gtk_key_hash_lookup): Remove
|
||||||
|
GDK_LOCK_MASK before calling
|
||||||
|
gdk_keymap_translate_keyboard_state so bindings
|
||||||
|
and accelerators are independent of the Caps-lock
|
||||||
|
key. (#115384, reported by Toni Willberg)
|
||||||
|
|
||||||
Mon Aug 11 12:07:14 2003 Owen Taylor <otaylor@redhat.com>
|
Mon Aug 11 12:07:14 2003 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gdk/x11/gdkevents-x11.c (get_real_window): Add missing
|
* gdk/x11/gdkevents-x11.c (get_real_window): Add missing
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
Tue Aug 12 14:27:42 2003 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtkkeyhash.c (_gtk_key_hash_lookup): Remove
|
||||||
|
GDK_LOCK_MASK before calling
|
||||||
|
gdk_keymap_translate_keyboard_state so bindings
|
||||||
|
and accelerators are independent of the Caps-lock
|
||||||
|
key. (#115384, reported by Toni Willberg)
|
||||||
|
|
||||||
Mon Aug 11 12:07:14 2003 Owen Taylor <otaylor@redhat.com>
|
Mon Aug 11 12:07:14 2003 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gdk/x11/gdkevents-x11.c (get_real_window): Add missing
|
* gdk/x11/gdkevents-x11.c (get_real_window): Add missing
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
Tue Aug 12 14:27:42 2003 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtkkeyhash.c (_gtk_key_hash_lookup): Remove
|
||||||
|
GDK_LOCK_MASK before calling
|
||||||
|
gdk_keymap_translate_keyboard_state so bindings
|
||||||
|
and accelerators are independent of the Caps-lock
|
||||||
|
key. (#115384, reported by Toni Willberg)
|
||||||
|
|
||||||
Mon Aug 11 12:07:14 2003 Owen Taylor <otaylor@redhat.com>
|
Mon Aug 11 12:07:14 2003 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gdk/x11/gdkevents-x11.c (get_real_window): Add missing
|
* gdk/x11/gdkevents-x11.c (get_real_window): Add missing
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
Tue Aug 12 14:27:42 2003 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtkkeyhash.c (_gtk_key_hash_lookup): Remove
|
||||||
|
GDK_LOCK_MASK before calling
|
||||||
|
gdk_keymap_translate_keyboard_state so bindings
|
||||||
|
and accelerators are independent of the Caps-lock
|
||||||
|
key. (#115384, reported by Toni Willberg)
|
||||||
|
|
||||||
Mon Aug 11 12:07:14 2003 Owen Taylor <otaylor@redhat.com>
|
Mon Aug 11 12:07:14 2003 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gdk/x11/gdkevents-x11.c (get_real_window): Add missing
|
* gdk/x11/gdkevents-x11.c (get_real_window): Add missing
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
Tue Aug 12 14:27:42 2003 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtkkeyhash.c (_gtk_key_hash_lookup): Remove
|
||||||
|
GDK_LOCK_MASK before calling
|
||||||
|
gdk_keymap_translate_keyboard_state so bindings
|
||||||
|
and accelerators are independent of the Caps-lock
|
||||||
|
key. (#115384, reported by Toni Willberg)
|
||||||
|
|
||||||
Mon Aug 11 12:07:14 2003 Owen Taylor <otaylor@redhat.com>
|
Mon Aug 11 12:07:14 2003 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gdk/x11/gdkevents-x11.c (get_real_window): Add missing
|
* gdk/x11/gdkevents-x11.c (get_real_window): Add missing
|
||||||
|
@ -336,6 +336,10 @@ _gtk_key_hash_lookup (GtkKeyHash *key_hash,
|
|||||||
gint level;
|
gint level;
|
||||||
GdkModifierType consumed_modifiers;
|
GdkModifierType consumed_modifiers;
|
||||||
|
|
||||||
|
/* We don't want Caps_Lock to affect keybinding lookups.
|
||||||
|
*/
|
||||||
|
state &= ~GDK_LOCK_MASK;
|
||||||
|
|
||||||
gdk_keymap_translate_keyboard_state (key_hash->keymap,
|
gdk_keymap_translate_keyboard_state (key_hash->keymap,
|
||||||
hardware_keycode, state, group,
|
hardware_keycode, state, group,
|
||||||
&keyval, &effective_group, &level, &consumed_modifiers);
|
&keyval, &effective_group, &level, &consumed_modifiers);
|
||||||
|
Reference in New Issue
Block a user