gtk+ r22354 - in trunk: . modules/input
- From: tkaroonb svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r22354 - in trunk: . modules/input
- Date: Wed, 18 Feb 2009 15:19:30 +0000 (UTC)
Author: tkaroonb
Date: Wed Feb 18 15:19:30 2009
New Revision: 22354
URL: http://svn.gnome.org/viewvc/gtk+?rev=22354&view=rev
Log:
2009-02-18 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.
Modified:
trunk/ChangeLog
trunk/modules/input/gtkimcontextthai.c
Modified: trunk/modules/input/gtkimcontextthai.c
==============================================================================
--- trunk/modules/input/gtkimcontextthai.c (original)
+++ trunk/modules/input/gtkimcontextthai.c Wed Feb 18 15:19:30 2009
@@ -122,7 +122,7 @@
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 */
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]