diff --git a/engine/engine.py b/engine/engine.py index 8ccd184..39435d4 100644 --- a/engine/engine.py +++ b/engine/engine.py @@ -442,7 +442,6 @@ def do_set_surrounding_text(self, text: IBus.Text, cursor_pos: int, anchor_pos: # See https://gitlab.gnome.org/GNOME/mutter/-/issues/3440 if self._surrounding == SURROUNDING_SUPPORTED: self._surrounding = SURROUNDING_BROKEN - pass else: self._surrounding = SURROUNDING_SUPPORTED self._preedit_text = None