summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorTheppitak Karoonboonyanan <thep@linux.thai.net>2009-03-02 04:17:28 +0000
committerTheppitak Karoonboonyanan <tkaroonb@src.gnome.org>2009-03-02 04:17:28 +0000
commit34461fe7df85ff256e9dba2a123ded238b4550c4 (patch)
treec2da91c6ff7c8de6c2a1929e41e5d5ec7870a39d /modules
parent996a68c491e1d95680fcf4116812fbc875fa8743 (diff)
downloadgtk+-34461fe7df85ff256e9dba2a123ded238b4550c4.tar.gz
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
Diffstat (limited to 'modules')
-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 */
}