Calling gdk_keymap_add_virtual_modifiers causes _all_ virtual
modifiers to be added, which causes problem when they are co-located
on the same real modifier (as Super and Hyper often are). Effectively,
this made it impossible to enter key combinations involving Super,
since they all turn into Super+Hyper.
This commit is contained in:
Matthias Clasen 2011-12-08 12:44:19 -05:00
parent e43080a0c2
commit 9bf17a95e5

View File

@ -466,8 +466,6 @@ grab_key_callback (GtkWidget *widget,
event->group,
&keyval, NULL, NULL, &consumed_modifiers);
gdk_keymap_add_virtual_modifiers (gdk_keymap_get_for_display (display), &accel_mods);
accel_key = gdk_keyval_to_lower (keyval);
if (accel_key == GDK_KEY_ISO_Left_Tab)
accel_key = GDK_KEY_Tab;