[Wayland-bugs] [Bug 93583] Cannot use multiple finger tapping to perform middle click

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jan 11 18:23:59 PST 2016


https://bugs.freedesktop.org/show_bug.cgi?id=93583

--- Comment #23 from Peter Hutterer <peter.hutterer at who-t.net> ---
Mildred: try this diff please. This is *in addition* to forcing semi_mt to
true, and make sure that udevadm info /sys/class/input/eventX actually shows
the tag on your device. (if not, test with this condition simply set to true
and we worry about the details later)

diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c
index 2de2539..f91f839 100644
--- a/src/evdev-mt-touchpad.c
+++ b/src/evdev-mt-touchpad.c
@@ -1496,7 +1496,8 @@ tp_init_slots(struct tp_dispatch *tp,
         * explanation.
         */
        if (tp->semi_mt &&
-           (device->model_flags & EVDEV_MODEL_JUMPING_SEMI_MT)) {
+           (device->model_flags &
+            (EVDEV_MODEL_JUMPING_SEMI_MT|EVDEV_MODEL_ELANTECH_TOUCHPAD))) {
                tp->num_slots = 1;
                tp->slot = 0;
                tp->has_mt = false;

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20160112/28590e3c/attachment.html>


More information about the wayland-bugs mailing list