forked from AuroraMiddleware/gtk
Fix check for modifier keys. (#438261, Theppitak Karoonboonyanan)
2007-05-14 Behdad Esfahbod <behdad@gnome.org> * modules/input/gtkimcontextthai.c (gtk_im_context_thai_filter_keypress): Fix check for modifier keys. (#438261, Theppitak Karoonboonyanan) svn path=/trunk/; revision=17842
This commit is contained in:
parent
8f1246b489
commit
e2f8c663e2
@ -1,3 +1,9 @@
|
||||
2007-05-14 Behdad Esfahbod <behdad@gnome.org>
|
||||
|
||||
* modules/input/gtkimcontextthai.c
|
||||
(gtk_im_context_thai_filter_keypress):
|
||||
Fix check for modifier keys. (#438261, Theppitak Karoonboonyanan)
|
||||
|
||||
2007-05-14 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkscrolledwindow.c: Document scrollbars-within-bevel
|
||||
|
@ -288,7 +288,8 @@ gtk_im_context_thai_filter_keypress (GtkIMContext *context,
|
||||
if (event->type != GDK_KEY_PRESS)
|
||||
return FALSE;
|
||||
|
||||
if (event->state & (GDK_MODIFIER_MASK & ~GDK_SHIFT_MASK) ||
|
||||
if (event->state & (GDK_MODIFIER_MASK
|
||||
& ~(GDK_SHIFT_MASK | GDK_LOCK_MASK | GDK_MOD2_MASK)) ||
|
||||
is_context_lost_key (event->keyval))
|
||||
{
|
||||
#ifndef GTK_IM_CONTEXT_THAI_NO_FALLBACK
|
||||
|
Loading…
Reference in New Issue
Block a user