forked from AuroraMiddleware/gtk
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:
parent
f87cb63be3
commit
43811f5dc0
@ -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>
|
||||
|
||||
* 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>
|
||||
|
||||
* 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>
|
||||
|
||||
* 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>
|
||||
|
||||
* 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>
|
||||
|
||||
* gdk/x11/gdkevents-x11.c (get_real_window): Add missing
|
||||
|
@ -336,6 +336,10 @@ _gtk_key_hash_lookup (GtkKeyHash *key_hash,
|
||||
gint level;
|
||||
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,
|
||||
hardware_keycode, state, group,
|
||||
&keyval, &effective_group, &level, &consumed_modifiers);
|
||||
|
Loading…
Reference in New Issue
Block a user