mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-03 11:10:29 +01:00
touchpad: use boolean operator for booleans
Detected while compiling with Sparse enabled. Signed-off-by: José Expósito <jose.exposito89@gmail.com> Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/987>
This commit is contained in:
parent
f6a1f264df
commit
1d5d45a251
1 changed files with 1 additions and 1 deletions
|
|
@ -948,7 +948,7 @@ tp_guess_clickpad(const struct tp_dispatch *tp, struct evdev_device *device)
|
|||
"clickpad advertising right button. "
|
||||
"See %s/clickpad-with-right-button.html for details\n",
|
||||
HTTP_DOC_LINK);
|
||||
} else if (has_left &
|
||||
} else if (has_left &&
|
||||
!is_clickpad &&
|
||||
libevdev_get_id_vendor(device->evdev) != VENDOR_ID_APPLE) {
|
||||
evdev_log_bug_kernel(device,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue