<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:peter.hutterer@who-t.net" title="Peter Hutterer <peter.hutterer@who-t.net>"> <span class="fn">Peter Hutterer</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Libinput 0.19 and 0.20 ignore POINTINGSTICK_CONST_ACCEL"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91369">bug 91369</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Depends on</td>
<td>
</td>
<td>90988
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Libinput 0.19 and 0.20 ignore POINTINGSTICK_CONST_ACCEL"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91369#c10">Comment # 10</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - Libinput 0.19 and 0.20 ignore POINTINGSTICK_CONST_ACCEL"
href="https://bugs.freedesktop.org/show_bug.cgi?id=91369">bug 91369</a>
from <span class="vcard"><a class="email" href="mailto:peter.hutterer@who-t.net" title="Peter Hutterer <peter.hutterer@who-t.net>"> <span class="fn">Peter Hutterer</span></a>
</span></b>
<pre>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);</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>