Re: [PATCH libinput 2/2] Change vector_get_direction input to a normalized_coords struct

2015-03-27 Thread Hans de Goede
Hi, On 27-03-15 01:32, Peter Hutterer wrote: On Thu, Mar 26, 2015 at 09:57:27AM +0100, Hans de Goede wrote: Change vector_get_direction input to a normalized_coords type rather then typo, then -> than passing in a separate x,y pair, and rename it normalized_get_direction to match. Since it

Re: [PATCH libinput 2/2] Change vector_get_direction input to a normalized_coords struct

2015-03-26 Thread Peter Hutterer
On Thu, Mar 26, 2015 at 09:57:27AM +0100, Hans de Goede wrote: > Change vector_get_direction input to a normalized_coords type rather then typo, then -> than > passing in a separate x,y pair, and rename it normalized_get_direction to > match. Since it now depends on the normalized_coords type whi

[PATCH libinput 2/2] Change vector_get_direction input to a normalized_coords struct

2015-03-26 Thread Hans de Goede
Change vector_get_direction input to a normalized_coords type rather then passing in a separate x,y pair, and rename it normalized_get_direction to match. Since it now depends on the normalized_coords type which gets declared in libinput-private.h also move it to libinput-private.h . Note this com