xlibinput_calibrator
xlibinput_calibrator copied to clipboard
Make it work nicely with wayland
Running a calibration on wayland works and it gets applied but only half way. It prints WARNING: xinput is running against an Xwayland server. See the xinput man page for details.
which is true; it's running against xwayland and that means calibration only applies to xwayland apps. Switch to a native wayland app and the stylus is no longer calibrated.
The issue is twofold:
- We need to use a sane, portable method to apply the transformation matrix at runtime for Wayland compositors. You probably need a protocol for this; perhaps something like that already exists.
- The app should suggest the user a means of permanently applying the matrix. Under X11, that's the xorg config files but under Wayland its...? Udev?