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.
return;
context = GTK_IM_CONTEXT_WAYLAND (global->current);
+ if (context->pending_preedit.text == NULL &&
+ context->current_preedit.text == NULL)
+ return;
state_change = ((context->pending_preedit.text == NULL)
!= (context->current_preedit.text == NULL));