Remove the acclerator mask
authorAlsor Zhou <alsor.zhou@gmail.com>
Tue, 27 Oct 2009 06:07:03 +0000 (14:07 +0800)
committerAlsor Zhou <alsor.zhou@gmail.com>
Tue, 27 Oct 2009 06:24:13 +0000 (14:24 +0800)
src/ui/mim-immodule.c

index 0f7f534..2d37711 100644 (file)
@@ -22,11 +22,6 @@ mim_filter_keypress(GtkIMContext *context,
     if (event->type == GDK_KEY_RELEASE)
         return FALSE;
 
     if (event->type == GDK_KEY_RELEASE)
         return FALSE;
 
-    /* don't filter key events with accelerator modifiers held down */
-//    if (event->state & (gtk_accelerator_get_default_mod_mask()
-//            & ~GDK_SHIFT_MASK))
-//        return FALSE;
-
     return TRUE;
 }
 
     return TRUE;
 }