This patch removes all wayland related things in the Touchpad KCM.
For more details, see T9177
No Linters Available |
No Unit Test Coverage |
Buildable 689 | |
Build 701: arc lint + arc unit |
Since you can review the old diff, I'm moving to stage 2. If you have problem with the Stage 1's diff, please tell me.
Stage 2 :
Minimum changes are done since there will be another commit for kcm_touchpadx cleaning. The kcm_touchpad is changed as kcm_touchpadx and it is moved to new folder "touchpadx". Since "touchpad" folder is changed, you can review the diff by checking it. Tested on X and everything is working fine. In Wayland, the KCM is not shown at all.
If we go with this split the stages should be:
Stage 3
kcm_touchpad (Wayland) and kcm_touchpadx (X11) are available by this commit. Tested and working fine. To test it, you should manually remove the old kcm_touchpad files since the names are clashing imho. This problem will be handled by packagers after the patch is pushed to master. I'm implementing the backend now (kcm.cpp, kcm.h).
kded_touchpad is handling the Wayland touchpad so I couldn't compile the Wayland part by just seperating it. If you know the solution, I can do that too.