[Wayland-bugs] [Bug 91369] Libinput 0.19 and 0.20 ignore POINTINGSTICK_CONST_ACCEL

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jul 22 21:44:48 PDT 2015


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

Peter Hutterer <peter.hutterer at who-t.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |90988

--- Comment #10 from Peter Hutterer <peter.hutterer at who-t.net> ---
yeah, with a const accel the pointing stick ends up as a low-dpi device and
picks the new accel method. that's why I'd like you to test this diff here, it
should restore the previous behaviour. Can you confirm that?
This is just to make sure the bug isn't elsewhere

diff --git a/src/evdev.c b/src/evdev.c
index 78d1f5d..590b1ea 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -1862,9 +1862,11 @@ evdev_init_accel(struct evdev_device *device)
 {
        accel_profile_func_t profile;

+#if 0
        if (device->dpi < DEFAULT_MOUSE_DPI)
                profile = pointer_accel_profile_linear_low_dpi;
        else
+#endif
                profile = pointer_accel_profile_linear;

        return evdev_device_init_pointer_acceleration(device, profile);

-- 
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/20150723/d91f869e/attachment.html>


More information about the wayland-bugs mailing list