[gtk+/gtk-3-16] win32: Support the decimal point on the keypad



commit 165684fb7a9c35b0b323646c069e83ea8d4a483d
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri May 1 07:03:49 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 fe9c05c..0a66171 100644
--- a/gdk/win32/gdkkeys-win32.c
+++ b/gdk/win32/gdkkeys-win32.c
@@ -164,6 +164,8 @@ handle_special (guint  vk,
       *ksymp = GDK_KEY_Meta_R; break;
     case VK_APPS:
       *ksymp = GDK_KEY_Menu; break;
+    case VK_DECIMAL:
+      *ksymp = GDK_KP_Decimal; break;
     case VK_MULTIPLY:
       *ksymp = GDK_KEY_KP_Multiply; break;
     case VK_ADD:


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