[gtk+/gtk-2-24] quartz: fix the mapping of GDK_KP_Enter in known_numeric_keys[]
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-24] quartz: fix the mapping of GDK_KP_Enter in known_numeric_keys[]
- Date: Tue, 20 Nov 2012 18:13:24 +0000 (UTC)
commit 27f3fcf12c39d551532872cf26823993c93eb04d
Author: Michael Natterer <mitch gimp org>
Date: Tue Nov 20 19:10:06 2012 +0100
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.
gdk/quartz/gdkkeys-quartz.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/quartz/gdkkeys-quartz.c b/gdk/quartz/gdkkeys-quartz.c
index 61526b1..a722510 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 },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]