diff options
-rw-r--r-- | modules/input/imquartz.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/input/imquartz.c b/modules/input/imquartz.c index febf41bc69..67c7d6c380 100644 --- a/modules/input/imquartz.c +++ b/modules/input/imquartz.c @@ -168,7 +168,7 @@ output_result (GtkIMContext *context, g_signal_emit_by_name (context, "preedit_changed"); retval = TRUE; } - if (!fixed_str && !marked_str) + if (!fixed_str && !marked_str) { if (qc->preedit_str && strlen (qc->preedit_str) > 0) retval = TRUE; @@ -209,7 +209,7 @@ quartz_filter_keypress (GtkIMContext *context, { if (event->hardware_keycode == 0 && event->keyval == 0xffffff) /* update text input changes by mouse events */ - output_result(context, win); + return output_result (context, win); else return gtk_im_context_filter_keypress (qc->slave, event); } |