diff --git a/js/misc/inputMethod.js b/js/misc/inputMethod.js index 1f9eaee7a..7de7540d3 100644 --- a/js/misc/inputMethod.js +++ b/js/misc/inputMethod.js @@ -111,6 +111,8 @@ class InputMethod extends Clutter.InputMethod { return; let preedit = text.get_text(); + if (preedit === '') + preedit = null; if (visible) this.set_preedit_text(preedit, pos, mode);