Skip to content

[Bugfix][X11] CharMods callback is not executed when ctrl key is pressed while typing - #2901

Open
tomolt wants to merge 1 commit into
glfw:masterfrom
tomolt:bugfix/x11-charmods-ctrl
Open

tomolt wants to merge 1 commit into
glfw:masterfrom
tomolt:bugfix/x11-charmods-ctrl

Conversation

@tomolt

@tomolt tomolt commented Sep 15, 2026

Copy link
Copy Markdown

This PR fixes #2900

Only the behaviour of the CharMods callback is changed (fixed).
The Char and Key callbacks should be completely unaffected by this change.

The only plausible issue I could see arrising is if some input methods were
to allow users to compose codepoints from key press sequences which specifically
require a control key press.
I am fairly certain that such sequences do not exist within X11.
After all, the control key is not meant for composition (unlike Alt, Alt-Gr etc.).

Let me know if I should direct this PR at the 'latest' branch instead of 'master'.

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.

[Bug][X11] CharMods callback is not executed when ctrl key is pressed while typing [+ proposed solution]

1 participant