[gtk+] Revert 3fd7dbc94074826755da7fc3237e439ba6e81ada
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Revert 3fd7dbc94074826755da7fc3237e439ba6e81ada
- Date: Thu, 8 Dec 2011 17:46:10 +0000 (UTC)
commit 9bf17a95e57dd0d223cf45e5e7332b7ef04134b7
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Dec 8 12:44:19 2011 -0500
Revert 3fd7dbc94074826755da7fc3237e439ba6e81ada
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.
gtk/gtkcellrendereraccel.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkcellrendereraccel.c b/gtk/gtkcellrendereraccel.c
index 56be7f4..8825590 100644
--- a/gtk/gtkcellrendereraccel.c
+++ b/gtk/gtkcellrendereraccel.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]