summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/math-display.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/math-display.c b/src/math-display.c
index 004f909..5d19952 100644
--- a/src/math-display.c
+++ b/src/math-display.c
@@ -69,6 +69,9 @@ display_key_press_cb(GtkWidget *widget, GdkEventKey *event, MathDisplay *display
/* Treat keypad keys as numbers even when numlock is off */
switch(event->keyval)
{
+ case GDK_KEY_KP_Delete: /* Period without numlock */
+ new_keyval = GDK_KEY_KP_Decimal;
+ break;
case GDK_KEY_KP_Insert:
new_keyval = GDK_KEY_0;
break;