[PATCH weston] compositor-rdp: update link to wheel delta explanation

Jonas Ã…dahl jadahl at gmail.com
Mon Jan 18 21:25:12 PST 2016


Reviewed (well checked the link) and push this one.


Jonas

On Mon, Jan 18, 2016 at 01:54:19PM +1000, Peter Hutterer wrote:
> The previous one is a 404 now.
> ---
>  src/compositor-rdp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/compositor-rdp.c b/src/compositor-rdp.c
> index 33805c1..1bf744c 100644
> --- a/src/compositor-rdp.c
> +++ b/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)
> -- 
> 2.5.0
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list