IBus emojier cannot get focus-in event in Wayland
Affected version: gnome-shell-44~rc-1
Bug summary
After ecc3cf8a is applied, ibus engines cannot get focus-in events in GNOME Wayland.
Also relative with https://bugzilla.redhat.com/show_bug.cgi?id=2178178
Steps to reproduce
- Log into GNOME Wayland
- Configure some ibus engines with gnome-control-center keyboard not to enable gtk-im-context-simple
- Enable an XKB layout
- Launch gnome-terminal
- Type Super-Period and show "e" prompt
- Type space to launch IBus Emojier category dialog
- Open an emoji category and select an emoji character
What happened
gnome-terminal cannot get focus-in event and the selected emoji character.
What did you expect to happen
gnome-terminal can receive the selected emoji character.