aa341104e5
Like OSK key buttons, we must avoid the default grabbing behavior of StButton here. Hook to button-press-event to commit the selected words, so we get a chance to prevent focus changes on the current key focus. Likewise, connect to ::touch-event to handle touch input. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2278>