forked from AuroraMiddleware/gtk
Revert 3fd7dbc940
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:
parent
e43080a0c2
commit
9bf17a95e5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user