Hardening wrote:

+#define DEFAULT_AXIS_STEP_DISTANCE wl_fixed_from_int(10)

+               axis = DEFAULT_AXIS_STEP_DISTANCE * ((flags & 0xff) / 120);

This can only make the fixed numbers 0, 10.0, and 20.0. Is this correct?

A wild guess is that this is actually what is wanted:

    axis = (DEFAULT_AXIS_STEP_DISTANCE * (flags & 0xff)) / 120;
_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to