mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-18 09:00:34 +00:00
Revert be1eea612c
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
7c9f317b64
commit
4eae58ab43
@ -431,8 +431,6 @@ grab_key_callback (GtkWidget *widget,
|
|||||||
event->group,
|
event->group,
|
||||||
&keyval, NULL, NULL, &consumed_modifiers);
|
&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);
|
accel_key = gdk_keyval_to_lower (keyval);
|
||||||
if (accel_key == GDK_ISO_Left_Tab)
|
if (accel_key == GDK_ISO_Left_Tab)
|
||||||
accel_key = GDK_Tab;
|
accel_key = GDK_Tab;
|
||||||
|
Loading…
Reference in New Issue
Block a user