-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Add Wayland zwp_input_method_v1 support #659
Conversation
It works with Weston 13.0.0 To use kime on weston, you need to add this to weston.ini
|
I did not implement |
It's pretty messed up, but there is a way to get the compositor name without using the https://stackoverflow.com/questions/69302630/wayland-client-get-compositor-name |
And even in sway, there's no guarantee sway session always have the |
It seems better not to unwrap |
This method seems a little bit too hacky to use... maybe it might be better to detect if weston is installed? (such as if |
IMHO, I don't think it's the IME's job to check if it works or not. |
Since that would result in adding another dependency, and considering that weston doesn't seem to have many real-world use cases (if I understood its project goals correctly) it seems more reasonable to me as well not to implement |
Summary
This PR introduces support for Wayland zwp_input_method_v1.
This enables IME input with non-GTK/QT wayland software under certain compositors such as KWin Wayland.
The PR also introduces minor changes in desktop files to make kime functional under KDE Plasma Wayland.
Note
Checklist