This IM context implementation goes through the gtk-text-input protocol, leaving up to the compositor the actual interaction with IM engines.