[gtk+/gtk-2-24] win32: Support the decimal point on the keypad



commit cb3eb7cd777b6cea239898efde3239c39144a955
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri May 1 07:32:47 2015 -0400

    win32: Support the decimal point on the keypad
    
    Based on a patch by John Emmas.

 gdk/win32/gdkkeys-win32.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gdk/win32/gdkkeys-win32.c b/gdk/win32/gdkkeys-win32.c
index c5d9598..3bb054f 100644
--- a/gdk/win32/gdkkeys-win32.c
+++ b/gdk/win32/gdkkeys-win32.c
@@ -143,6 +143,8 @@ handle_special (guint  vk,
       *ksymp = GDK_Meta_L; break;
     case VK_RWIN:
       *ksymp = GDK_Meta_R; break;
+    case VK_DECIMAL:
+      *ksymp = GDK_KP_Decimal; break;
     case VK_APPS:
       *ksymp = GDK_Menu; break;
     case VK_MULTIPLY:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]