diff --git a/js/misc/inputMethod.js b/js/misc/inputMethod.js index 7de7540d3..71dff84f5 100644 --- a/js/misc/inputMethod.js +++ b/js/misc/inputMethod.js @@ -186,11 +186,7 @@ class InputMethod extends Clutter.InputMethod { this._emitRequestSurrounding(); } - if (this._preeditStr !== null) { - // Unset any preedit text - this.set_preedit_text(null, 0, Clutter.PreeditResetMode.CLEAR); - this._preeditStr = null; - } + this._preeditStr = null; } vfunc_set_cursor_location(rect) {