compositor-rdp: update link to wheel delta explanation

The previous one is a 404 now.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Jonas Ådahl <jadahl@gmail.com>
dev
Peter Hutterer 9 years ago committed by Jonas Ådahl
parent e1434d3ca8
commit 60fb1c4ce8
  1. 2
      src/compositor-rdp.c

@ -975,7 +975,7 @@ xf_mouseEvent(rdpInput *input, UINT16 flags, UINT16 x, UINT16 y)
* The RDP specs says the lower bits of flags contains the "the number of rotation
* units the mouse wheel was rotated".
*
* http://blogs.msdn.com/b/oldnewthing/archive/2013/01/23/10387366.aspx explains the 120 value
* https://blogs.msdn.microsoft.com/oldnewthing/20130123-00/?p=5473 explains the 120 value
*/
axis = (DEFAULT_AXIS_STEP_DISTANCE * (flags & 0xff)) / 120;
if (flags & PTR_FLAGS_WHEEL_NEGATIVE)

Loading…
Cancel
Save