[Wayland-bugs] [Bug 99212] Button areas on Lenovo Thinkpad W540
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Jan 17 06:12:13 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=99212
Peter Hutterer <peter.hutterer at who-t.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |NEEDINFO
--- Comment #11 from Peter Hutterer <peter.hutterer at who-t.net> ---
very simple diff to test please:
diff --git a/src/evdev-mt-touchpad-buttons.c b/src/evdev-mt-touchpad-buttons.c
index f4fe6b7..aaffb7b 100644
--- a/src/evdev-mt-touchpad-buttons.c
+++ b/src/evdev-mt-touchpad-buttons.c
@@ -301,7 +301,7 @@ tp_button_top_handle_event(struct tp_dispatch *tp,
event);
break;
case BUTTON_EVENT_IN_AREA:
- tp_button_set_state(tp, t, BUTTON_STATE_TOP_TO_IGNORE, event);
+ tp_button_set_state(tp, t, BUTTON_STATE_AREA, event);
break;
case BUTTON_EVENT_UP:
tp_button_set_state(tp, t, BUTTON_STATE_NONE, event);
that should detect any physical button presses as button left now (if outside
the top area) I'll prepare the proper patch if you're reasonably happy with
this.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20170117/51b69a6f/attachment.html>
More information about the wayland-bugs
mailing list