[gtk+] win32: Support the decimal point on the keypad



commit 578043f97e891e423648c9f70ddf1d185f4615c4
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 e899dce..f8c0283 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]