[gtk+/gtk-3-14] win32: Support the decimal point on the keypad
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-14] win32: Support the decimal point on the keypad
- Date: Fri, 1 May 2015 11:34:39 +0000 (UTC)
commit ca3f730960fc2aadb83efcce0fe8abd885c03406
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]