8000 x11: Filter out duplicate key presses when an IME is active by Kontrabant · Pull Request #12974 · libsdl-org/SDL · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

x11: Filter out duplicate key presses when an IME is active #12974

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 6, 2025

Conversation

Kontrabant
Copy link
Contributor

IME text events can result in sending duplicate key press events, which will result in undesired repeated key presses. Since the events are exact duplicates, compare the serials to filter out redundant key down events.

Fixes #12965

IME text events can result in sending duplicate key press events, which will result in undesired repeated key presses. Since the events are exact duplicates, compare the serials to filter out redundant key down events.
@Kontrabant Kontrabant merged commit f4813ca into libsdl-org:main May 6, 2025
2 checks passed
@Kontrabant Kontrabant deleted the x11_key_dup_fix branch May 6, 2025 22:06
@slouken
Copy link
Collaborator
slouken commented May 6, 2025

I cherry-picked your x11 grab handling to release-3.2.x, can you take care of this one?

@Kontrabant
Copy link
Contributor Author

Yep, done.

@slouken
Copy link
Collaborator
slouken commented May 6, 2025

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Commit 47162a4 is a misleading and breaking change
2 participants
0