06-27-2022, 03:18 AM
http://www.moiji-mobile.com/2017/11/26/q...n-wayland/
I think it's essentially the same mechanism as used for accessible input methods, which are just as applicable to the desktop.
https://wayland.app/protocols/input-method-unstable-v1
https://wayland.app/protocols/text-input-unstable-v3
Compatibility issues have been mentioned in the past as the APIs aren't stable yet.
https://blog.martin-graesslin.com/blog/2...yland-5-7/
X uses a different mechanism - IIRC that was using extended window manager hints. In the openmoko days there was an attempt to standardise some new ones to indicate the type of input required so the keyboard could show the most suitable keyboard layout, but I don't know if it ever got wider adoption. I don't know how / whether this joins up with X apps showing under xwayland.
I don't know how much is done by default by which toolkit (Qt, GTK etc.) and how much needs to be added by the developer.
I think it's essentially the same mechanism as used for accessible input methods, which are just as applicable to the desktop.
https://wayland.app/protocols/input-method-unstable-v1
https://wayland.app/protocols/text-input-unstable-v3
Compatibility issues have been mentioned in the past as the APIs aren't stable yet.
https://blog.martin-graesslin.com/blog/2...yland-5-7/
X uses a different mechanism - IIRC that was using extended window manager hints. In the openmoko days there was an attempt to standardise some new ones to indicate the type of input required so the keyboard could show the most suitable keyboard layout, but I don't know if it ever got wider adoption. I don't know how / whether this joins up with X apps showing under xwayland.
I don't know how much is done by default by which toolkit (Qt, GTK etc.) and how much needs to be added by the developer.