Correct fix applied this time. Tested, Alt is not broken by this
change.
VTE_PC_VERSION=
VTE_LIBRARY_SUFFIX=
GTK_API_VERSION=2.0
- GTK_REQUIRED=2.14.0
+ GTK_REQUIRED=2.20.0
;;
3.0) VTE_API_VERSION=2.90
VTE_API_MAJOR_VERSION=2
G_BEGIN_DECLS
-#define VTE_META_MASK GDK_MOD1_MASK
+#define VTE_META_MASK GDK_META_MASK
#define VTE_NUMLOCK_MASK GDK_MOD2_MASK
/* Map the specified keyval/modifier setup, dependent on the mode, to either
GdkModifierType modifiers;
/* Read the modifiers. */
- if (gdk_event_get_state((GdkEvent*)event, &modifiers))
+ if (gdk_event_get_state((GdkEvent*)event, &modifiers)) {
+ GdkKeymap *keymap;
+ keymap = gdk_keymap_get_for_display (
+ gdk_drawable_get_display (((GdkEventAny *)event)->window));
+ gdk_keymap_add_virtual_modifiers (keymap, &modifiers);
terminal->pvt->modifiers = modifiers;
+ }
}
/* Read and handle a keypress event. */