Skip to content

fix(gui): always process text input from char events#587

Open
ypsvlq wants to merge 1 commit into
neurocyte:masterfrom
ypsvlq:gui-input
Open

fix(gui): always process text input from char events#587
ypsvlq wants to merge 1 commit into
neurocyte:masterfrom
ypsvlq:gui-input

Conversation

@ypsvlq

@ypsvlq ypsvlq commented Jun 6, 2026

Copy link
Copy Markdown

On some platforms (e.g. my Wayland setup with IBus), .button_press events are not sent for character keys when text input is enabled.

Unfortunately fixing this exposes an issue in wio where .char events were incorrectly sent whilst ctrl/alt were held on Wayland, so currently it will double register there. This was fixed in ypsvlq/wio@dcdd790 which can be applied to your fork by gating https://github.com/neurocyte/wio/blob/6d7a5919de5f2e284ace3be28ea3a592645b69ea/src/unix/wayland.zig#L775-L786 in if (!modifiers.control and !modifiers.alt).

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.

1 participant