Skip to content

Improve Wayland and X11 Text Input #21

Merged
levovix0 merged 10 commits intolevovix0:masterfrom
elcritch:fixes-wayland
Feb 19, 2026
Merged

Improve Wayland and X11 Text Input #21
levovix0 merged 10 commits intolevovix0:masterfrom
elcritch:fixes-wayland

Conversation

@elcritch
Copy link
Contributor

This PR updates Siwin on Wayland or X11 to get the current modifier keys (eg ctrl, alt) from the window server. This honors user preferences key overrides as set in their desktop environment. I've only tested on KDE but since it's based on calling to Wayland or X11 directly it should work for all DEs/WMs.

It also fixes repeat inputs on Wayland. It also implements software rendering in Wayland (which examples/text_input_demo.nim uses).

@elcritch
Copy link
Contributor Author

I got Neonim running with this on my FreeBSD/Wayland machine and it's nice!

@levovix0 levovix0 merged commit fd90bd5 into levovix0:master Feb 19, 2026
3 checks passed
@elcritch elcritch deleted the fixes-wayland branch February 19, 2026 15:35
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.

2 participants

Comments