fix(linux): Fix tests
The previous changes didn't work when we output a character + deadkey. In response to outputting the character we get a `ibus_keyman_engine_set_surrounding_text` call in which we called `reset_context` which removed the deadkey marker. This change fixes this problem by comparing the surrounding text with the context we already have. Only if it's different we reset the context.
parent
696f683d
Please register or sign in to comment