mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-05 09:58:22 +02: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 =
|
tp->hysteresis.margin_y =
|
||||||
diagonal / DEFAULT_HYSTERESIS_MARGIN_DENOMINATOR;
|
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))
|
libevdev_has_event_code(device->evdev, EV_KEY, BTN_RIGHT))
|
||||||
tp->buttons.has_buttons = true;
|
tp->buttons.has_buttons = true;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue