From d0af25f12c2c99ef0959ce19b1385a9f375ac19c Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Tue, 20 Nov 2012 19:10:06 +0100 Subject: [PATCH] quartz: fix the mapping of GDK_KP_Enter in known_numeric_keys[] so it will actually be used, instead of delivering GDK_Return when it should be GDK_KP_Enter. (cherry picked from commit 27f3fcf12c39d551532872cf26823993c93eb04d) --- gdk/quartz/gdkkeys-quartz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/quartz/gdkkeys-quartz.c b/gdk/quartz/gdkkeys-quartz.c index c070560e1f..a4df2cf933 100644 --- a/gdk/quartz/gdkkeys-quartz.c +++ b/gdk/quartz/gdkkeys-quartz.c @@ -176,7 +176,7 @@ const static struct { { 67, GDK_KEY_asterisk, GDK_KEY_KP_Multiply }, { 69, GDK_KEY_plus, GDK_KEY_KP_Add }, { 75, GDK_KEY_slash, GDK_KEY_KP_Divide }, - { 76, 0x01000003, GDK_KEY_KP_Enter }, + { 76, GDK_KEY_Return, GDK_KEY_KP_Enter }, { 78, GDK_KEY_minus, GDK_KEY_KP_Subtract }, { 81, GDK_KEY_equal, GDK_KEY_KP_Equal }, { 82, GDK_KEY_0, GDK_KEY_KP_0 },