diff options
author | Tarcísio Eduardo Moreira Crocomo <tarcisioe@pm.me> | 2024-04-09 23:40:34 -0300 |
---|---|---|
committer | Tarcísio Eduardo Moreira Crocomo <tarcisioe@pm.me> | 2024-04-09 23:40:34 -0300 |
commit | 955158f9824da05dcd71f3e8731cd5d51c3d262f (patch) | |
tree | 19e9d40dd93a7a79ce7890c2db3d906c90ccda29 | |
parent | 46d1fff0b0cbefc52fd388ec2f8439655d1b4a5e (diff) |
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/988>
-rw-r--r-- | src/evdev-mt-touchpad-buttons.c | 4 | ||||
-rw-r--r-- | src/libinput.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/evdev-mt-touchpad-buttons.c b/src/evdev-mt-touchpad-buttons.c index 0f0a640e..23817da8 100644 --- a/src/evdev-mt-touchpad-buttons.c +++ b/src/evdev-mt-touchpad-buttons.c @@ -1383,9 +1383,9 @@ int tp_post_button_events(struct tp_dispatch *tp, uint64_t time) { if (tp->buttons.is_clickpad || - tp->device->model_flags & EVDEV_MODEL_APPLE_TOUCHPAD_ONEBUTTON) { + tp->device->model_flags & EVDEV_MODEL_APPLE_TOUCHPAD_ONEBUTTON) return tp_post_clickpadbutton_buttons(tp, time); - } + return tp_post_physical_buttons(tp, time); } diff --git a/src/libinput.h b/src/libinput.h index 954ec617..ebaf6384 100644 --- a/src/libinput.h +++ b/src/libinput.h @@ -5860,7 +5860,7 @@ libinput_device_config_click_set_clickfinger_button_map(struct libinput_device * * * Get the finger number to button number mapping for clickfinger. * - * The return value for a device that does not support tapping is always + * The return value for a device that does not support clickfinger is always * @ref LIBINPUT_CONFIG_CLICKFINGER_MAP_LRM. * * @param device The device to configure |