Index: gtk+2.0-2.24.4/modules/input/gtkimcontextthai.c
===================================================================
--- gtk+2.0-2.24.4.orig/modules/input/gtkimcontextthai.c	2011-06-16 16:22:06.000000000 +0700
+++ gtk+2.0-2.24.4/modules/input/gtkimcontextthai.c	2011-06-16 16:23:26.000000000 +0700
@@ -287,8 +287,7 @@
   if (event->type != GDK_KEY_PRESS)
     return FALSE;
 
-  if (event->state & (GDK_MODIFIER_MASK
-                      & ~(GDK_SHIFT_MASK | GDK_LOCK_MASK | GDK_MOD2_MASK)) ||
+  if (event->state & (GDK_CONTROL_MASK | GDK_MOD1_MASK) ||
       is_context_lost_key (event->keyval))
     {
 #ifndef GTK_IM_CONTEXT_THAI_NO_FALLBACK
