summaryrefslogtreecommitdiff
path: root/modules/input/gtkimcontextthai.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/input/gtkimcontextthai.c')
-rw-r--r--modules/input/gtkimcontextthai.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/input/gtkimcontextthai.c b/modules/input/gtkimcontextthai.c
index 0b2d6b6b58..640c013c5f 100644
--- a/modules/input/gtkimcontextthai.c
+++ b/modules/input/gtkimcontextthai.c
@@ -122,7 +122,7 @@ is_context_lost_key(guint keyval)
keyval == GDK_Escape ||
keyval == GDK_Delete ||
(GDK_Home <= keyval && keyval <= GDK_Begin) || /* IsCursorkey */
- (GDK_KP_Space <= keyval && keyval <= GDK_KP_Equal) || /* IsKeypadKey */
+ (GDK_KP_Space <= keyval && keyval <= GDK_KP_Delete) || /* IsKeypadKey, non-chars only */
(GDK_Select <= keyval && keyval <= GDK_Break) || /* IsMiscFunctionKey */
(GDK_F1 <= keyval && keyval <= GDK_F35)); /* IsFunctionKey */
}