mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-01 11:40:08 +01:00
touchpad: fix copy/paste error
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
d1ba8a8fcc
commit
7c2da22fc1
1 changed files with 1 additions and 1 deletions
|
|
@ -772,7 +772,7 @@ tp_init(struct tp_dispatch *tp,
|
|||
tp->hysteresis.margin_y =
|
||||
diagonal / DEFAULT_HYSTERESIS_MARGIN_DENOMINATOR;
|
||||
|
||||
if (libevdev_has_event_code(device->evdev, EV_KEY, BTN_RIGHT) ||
|
||||
if (libevdev_has_event_code(device->evdev, EV_KEY, BTN_MIDDLE) ||
|
||||
libevdev_has_event_code(device->evdev, EV_KEY, BTN_RIGHT))
|
||||
tp->buttons.has_buttons = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue