summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2011-11-15 08:30:04 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2011-11-15 08:30:04 +0000
commit303e0f5ce3ce194805124e3e728b8bc632aab181 (patch)
tree81c8c55b8fd57121ac3886dcb80440bfb4b5cd7f /x11-libs/vte/files
parentSimplify ebuild a bit, and fix translation installation wrt LINGUAS. (diff)
downloadhistorical-303e0f5ce3ce194805124e3e728b8bc632aab181.tar.gz
historical-303e0f5ce3ce194805124e3e728b8bc632aab181.tar.bz2
historical-303e0f5ce3ce194805124e3e728b8bc632aab181.zip
Add a patch to unbreak Alt key handling with gtk+-3.2.2.
Package-Manager: portage-2.2.0_alpha74/cvs/Linux x86_64
Diffstat (limited to 'x11-libs/vte/files')
-rw-r--r--x11-libs/vte/files/vte-0.30.1-alt-meta.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/x11-libs/vte/files/vte-0.30.1-alt-meta.patch b/x11-libs/vte/files/vte-0.30.1-alt-meta.patch
new file mode 100644
index 000000000000..9ea611fde51c
--- /dev/null
+++ b/x11-libs/vte/files/vte-0.30.1-alt-meta.patch
@@ -0,0 +1,27 @@
+From 299e28dd3e5549b13ec54de991d583ac6a6ff11e Mon Sep 17 00:00:00 2001
+From: Alexandre Rostovtsev <tetromino@gentoo.org>
+Date: Tue, 15 Nov 2011 03:06:40 -0500
+Subject: [PATCH] Map both gdk's Meta and Alt to vte's Meta for >=gtk+-3.2.2
+ compatibility
+
+https://bugzilla.gnome.org/show_bug.cgi?id=663779
+---
+ src/keymap.h | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/src/keymap.h b/src/keymap.h
+index 243e22e..21d9b8e 100644
+--- a/src/keymap.h
++++ b/src/keymap.h
+@@ -27,7 +27,7 @@
+
+ G_BEGIN_DECLS
+
+-#define VTE_META_MASK GDK_META_MASK
++#define VTE_META_MASK (GDK_META_MASK | GDK_MOD1_MASK)
+ #define VTE_NUMLOCK_MASK GDK_MOD2_MASK
+
+ /* Map the specified keyval/modifier setup, dependent on the mode, to either
+--
+1.7.8.rc1
+