Web lists-archives.com

Re: GDK_KP_Decimal (on Windows)




On 29/04/2015 19:03, Jasper St. Pierre wrote:
It was likely left out by accident, and nobody so far hit this code
path yet. Thanks for finding it! It looks super easy to fix.


Thanks.  Here's a patch produced by one of my colleagues:-

--- a/gdk/win32/gdkkeys-win32.c	2015-04-29 16:33:41.545406159 +0200
+++ b/gdk/win32/gdkkeys-win32.c	2015-04-29 16:35:16.821576820 +0200
@@ -145,6 +145,8 @@
       *ksymp = GDK_Meta_R; break;
     case VK_APPS:
       *ksymp = GDK_Menu; break;
+    case VK_DECIMAL:
+      *ksymp = GDK_KP_Decimal; break;
     case VK_MULTIPLY:
       *ksymp = GDK_KP_Multiply; break;
     case VK_ADD:


_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-devel-list