[Mouse KCM] Avoid changes to touchpads in libinput backend
ClosedPublic

Authored by romangg on Sep 3 2018, 10:50 PM.

Details

Summary

Similar to evdev backend we need to ignore touchpad devices explicitly in the
libinput backend because these are also pointer devices.

XInput2 can do this in theory via input classes, but my touchpad did not set
the class correctly. So just switch to using XInput like in the evdev backend
to query all pointer devices and then use the XI_TOUCHPAD atom to filter out
touchpads.

BUG: 395401
BUG: 395722
BUG: 396269

Test Plan

Manually

Diff Detail

Repository
R119 Plasma Desktop
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
romangg created this revision.Sep 3 2018, 10:50 PM
Restricted Application added a project: Plasma. · View Herald TranscriptSep 3 2018, 10:50 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
romangg requested review of this revision.Sep 3 2018, 10:50 PM
ngraham added a subscriber: ngraham.Sep 4 2018, 3:30 AM
acrouthamel added a subscriber: acrouthamel.
hein accepted this revision.Sep 11 2018, 1:33 PM
This revision is now accepted and ready to land.Sep 11 2018, 1:33 PM

The beta branches tomorrow. It would be nice to get this in so that people can test and offer feedback before the release.

This revision was automatically updated to reflect the committed changes.