imcontextwayland: Ignore preedit updates from NULL to NULL
authorCarlos Garnacho <carlosg@gnome.org>
Tue, 26 Apr 2022 10:23:09 +0000 (12:23 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Mon, 9 May 2022 15:41:08 +0000 (17:41 +0200)
commitc1895ad8232ac4e0a15139c5a84a60a1b4fd90c0
treebecea793fe30946c222b16d410c70fefda51a482
parent21103ad8116a9d51aec4fc694268b6d066e679ae
imcontextwayland: Ignore preedit updates from NULL to NULL

If we get consecutive preedit string updates that announce a NULL
string, we still do end up issuing ::preedit-changed with those.
Ignore changes from NULL to NULL, it is the other combinations which
must issue this signal.

(cherry-picked from commit d6fe6f495a52de47927bf17ce3bc492a971c025f)
gtk/gtkimcontextwayland.c