From a99a91fd22fc5b3518ffd13bf5b185b6cd84cb91 Mon Sep 17 00:00:00 2001 From: Theppitak Karoonboonyanan Date: Wed, 18 Feb 2009 15:19:30 +0000 Subject: [PATCH] Bug 457086 - numpad does not work when the Thai-Lao input method is used 2009-02-18 Theppitak Karoonboonyanan Bug 457086 - numpad does not work when the Thai-Lao input method is used * modules/input/gtkimcontextthai.c (is_context_lost_key): Do not count character-generating keypads as context-lost keys. svn path=/trunk/; revision=22354 --- ChangeLog | 8 ++++++++ modules/input/gtkimcontextthai.c | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 15145210d..808fcd3cd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2009-02-18 Theppitak Karoonboonyanan + + Bug 457086 - numpad does not work when the Thai-Lao input method is + used + + * modules/input/gtkimcontextthai.c (is_context_lost_key): Do not count + character-generating keypads as context-lost keys. + 2009-02-17 Matthias Clasen * configure.in: Bump version diff --git a/modules/input/gtkimcontextthai.c b/modules/input/gtkimcontextthai.c index 0b2d6b6b5..640c013c5 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 */ }