741355e2cd
Move the complex parts of this mechanism from the Keyboard object to the KeyboardController object, replaced by code that is easier to follow. Also, keyval guessing is deferred to a later point in the commit procedure so so it does not happen for a single character only, this way we can send multi-character input through the IM, which is necessary for some OSK layouts. Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7190 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3162>