Bug 457086 - numpad does not work when the Thai-Lao input method is used

2009-03-02  Theppitak Karoonboonyanan  <thep@linux.thai.net>

	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. (patch recommitted
	after approval)


svn path=/trunk/; revision=22437
This commit is contained in:
Theppitak Karoonboonyanan 2009-03-02 04:17:28 +00:00 committed by Theppitak Karoonboonyanan
parent 996a68c491
commit 34461fe7df
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,12 @@
2009-03-02 Theppitak Karoonboonyanan <thep@linux.thai.net>
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. (patch recommitted
after approval)
2009-03-01 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkkeysyms.h: Fix the sorting of GDK_KP_Equal.

View File

@ -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 */
}