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:46:55 -05:00
parent 7c9f317b64
commit 4eae58ab43

View File

@ -431,8 +431,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_ISO_Left_Tab)
accel_key = GDK_Tab;