mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-03-26 12:20:48 +01:00
touchpad: don't log a bug for Apple's one-button touchpads
Apple used to have a single-button touchpad that was not a clickpad. Skip logging an error for that one. Found in https://bugzilla.redhat.com/show_bug.cgi?id=1246651. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
988f31fc4a
commit
be857f1e28
1 changed files with 2 additions and 1 deletions
|
|
@ -714,7 +714,8 @@ tp_init_buttons(struct tp_dispatch *tp,
|
|||
"%s: clickpad advertising right button\n",
|
||||
device->devname);
|
||||
} else if (libevdev_has_event_code(device->evdev, EV_KEY, BTN_LEFT) &&
|
||||
!tp->buttons.is_clickpad) {
|
||||
!tp->buttons.is_clickpad &&
|
||||
libevdev_get_id_vendor(device->evdev) != VENDOR_ID_APPLE) {
|
||||
log_bug_kernel(libinput,
|
||||
"%s: non clickpad without right button?\n",
|
||||
device->devname);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue