Description
Although KeyboardInput events with ElementState::Pressed are not emitted, the ElementState:: Released counterparts are emitted.

I have only tested on Fcitx5. I don't know whether other IMFs (e.g. IBus) under X11 also have this problem.
The ideal behavior should look like the Wayland + IBus one demonstrated in #4508.
Reproduction
https://gist.github.com/umajho/5f42a9cfe49ecfe61d4a9753796d00f2
OS and window mananger
Debian 13
Cinnamon 6.4.10
Fcitx5 5.1.2
Winit version
0.30.13
Description
Although
KeyboardInputevents withElementState::Pressedare not emitted, theElementState:: Releasedcounterparts are emitted.I have only tested on Fcitx5. I don't know whether other IMFs (e.g. IBus) under X11 also have this problem.
The ideal behavior should look like the Wayland + IBus one demonstrated in #4508.
Reproduction
https://gist.github.com/umajho/5f42a9cfe49ecfe61d4a9753796d00f2
OS and window mananger
Debian 13
Cinnamon 6.4.10
Fcitx5 5.1.2
Winit version
0.30.13