Make use of the input device state event
AbstractShell sends that event on focus change, the XkbMapper receives that information and used it to update its xkb_state. Additionally the nested input platform forwards that event.
Approved by mir-ci-bot, Kevin DuBois.