From 1abd960ec851fe0b2a2f9803af7ab2c921e685ee Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 16 Oct 2012 14:57:39 +0000 Subject: [PATCH] new fix for problem with KP Enter on Quartz git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@13285 d708f5d6-7413-0410-9779-e7cbd77b26cf --- tools/current-gtk-patches/gdk-quartz-keys.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tools/current-gtk-patches/gdk-quartz-keys.patch diff --git a/tools/current-gtk-patches/gdk-quartz-keys.patch b/tools/current-gtk-patches/gdk-quartz-keys.patch new file mode 100644 index 0000000000..7c41807ff6 --- /dev/null +++ b/tools/current-gtk-patches/gdk-quartz-keys.patch @@ -0,0 +1,13 @@ +diff --git a/gdk/quartz/gdkkeys-quartz.c b/gdk/quartz/gdkkeys-quartz.c +index e4c1636..1cb7a3a 100644 +--- a/gdk/quartz/gdkkeys-quartz.c ++++ b/gdk/quartz/gdkkeys-quartz.c +@@ -155,7 +155,7 @@ const static struct { + { 67, GDK_asterisk, GDK_KP_Multiply }, + { 69, GDK_plus, GDK_KP_Add }, + { 75, GDK_slash, GDK_KP_Divide }, +- { 76, 0x01000003, GDK_KP_Enter }, ++ { 76, GDK_Return, GDK_KP_Enter }, + { 78, GDK_minus, GDK_KP_Subtract }, + { 81, GDK_equal, GDK_KP_Equal }, + { 82, GDK_0, GDK_KP_0 },