GitLab will be down for maintenance this Sunday 13th June, from approx 7-11am UTC. This is for a PostgreSQL migration. See the tracker issue for more informations.

Commit 7531d716 authored by Olivier Fourdan's avatar Olivier Fourdan
Browse files

xwayland: Use a resolution of 0 for relative motion



That's what evdev/libinput drivers do.
Suggested-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: default avatarOlivier Fourdan <ofourdan@redhat.com>
Reviewed-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
Related: #1130
(cherry picked from commit ebdb2e26)
parent 0663a245
......@@ -200,9 +200,9 @@ xwl_pointer_proc_relative(DeviceIntPtr device, int what)
/* Valuators */
InitValuatorAxisStruct(device, 0, axes_labels[0],
NO_AXIS_LIMITS, NO_AXIS_LIMITS, 1, 0, 1, Relative);
NO_AXIS_LIMITS, NO_AXIS_LIMITS, 0, 0, 0, Relative);
InitValuatorAxisStruct(device, 1, axes_labels[1],
NO_AXIS_LIMITS, NO_AXIS_LIMITS, 1, 0, 1, Relative);
NO_AXIS_LIMITS, NO_AXIS_LIMITS, 0, 0, 0, Relative);
if (!InitPtrFeedbackClassDeviceStruct(device, xwl_pointer_control))
return BadValue;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment