Please allow for dbus replacement
phosh-osk-stub (optionally) allows other processes to own the sm.puri.OSK0
dbus name (guidog/phosh-osk-stub!31 (commits)). While that is useful on it's own the (for me) nice bit is that it will also destroy the wayland input-method (guidog/phosh-osk-stub!31 (dfbaa940)) so the new name dbus name owner will act as active input method.
Furthermore once the the new name owner exits osk-stub grabs the name again and creates a new input-method wayland object thus acting as OSK again. This is helpful for development since one can just try out new versions via _build/src/phosh-osk-stub --replace
and then exit the process (or it crashes) and the old osk is back making it save to try out things on device without further tooling.
It would be great if squeekboard would implement the same pattern. I have a patch for the dbus bits here but didn't look at the imservice.{rs,c}
bits for the input method yet, hence this issue.