Commit a1178ee7 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Prevent double commits, don't commit when Ctrl is present. (#160376,

2004-12-06  Matthias Clasen  <mclasen@redhat.com>

	* modules/input/gtkimcontextime.c: Prevent double commits,
	don't commit when Ctrl is present.  (#160376, Kazuki IWAMOTO)
parent 67643f6f
2004-12-06 Matthias Clasen <mclasen@redhat.com>
* modules/input/gtkimcontextime.c: Prevent double commits,
don't commit when Ctrl is present. (#160376, Kazuki IWAMOTO)
2004-12-06 Hans Breuer <hans@breuer.org>
* gtk/gtkcolorsel.c (key_press): Implement keynav for the color
......
2004-12-06 Matthias Clasen <mclasen@redhat.com>
* modules/input/gtkimcontextime.c: Prevent double commits,
don't commit when Ctrl is present. (#160376, Kazuki IWAMOTO)
2004-12-06 Hans Breuer <hans@breuer.org>
* gtk/gtkcolorsel.c (key_press): Implement keynav for the color
......
2004-12-06 Matthias Clasen <mclasen@redhat.com>
* modules/input/gtkimcontextime.c: Prevent double commits,
don't commit when Ctrl is present. (#160376, Kazuki IWAMOTO)
2004-12-06 Hans Breuer <hans@breuer.org>
* gtk/gtkcolorsel.c (key_press): Implement keynav for the color
......
2004-12-06 Matthias Clasen <mclasen@redhat.com>
* modules/input/gtkimcontextime.c: Prevent double commits,
don't commit when Ctrl is present. (#160376, Kazuki IWAMOTO)
2004-12-06 Hans Breuer <hans@breuer.org>
* gtk/gtkcolorsel.c (key_press): Implement keynav for the color
......
......@@ -312,6 +312,9 @@ gtk_im_context_ime_filter_keypress (GtkIMContext *context,
if (event->type == GDK_KEY_RELEASE)
return FALSE;
if (event->state & GDK_CONTROL_MASK)
return FALSE;
context_ime = GTK_IM_CONTEXT_IME (context);
if (!context_ime->focus)
......@@ -971,6 +974,7 @@ gtk_im_context_ime_message_filter (GdkXEvent *xevent,
{
g_signal_emit_by_name (context, "commit", utf8str);
g_free (utf8str);
retval = TRUE;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment