On 26/05/2014 16:33 , Hans de Goede wrote:
Hi,
On 05/25/2014 02:13 PM, Jonas Ådahl wrote:
On Fri, May 23, 2014 at 04:06:23PM +0200, Hans de Goede wrote:
Setting tp->scroll.direction = 0 before checking tp->scroll.direction
to see if we need to send stop scroll events for vert / horz scrolling
Hi,
On 05/25/2014 02:13 PM, Jonas Ådahl wrote:
> On Fri, May 23, 2014 at 04:06:23PM +0200, Hans de Goede wrote:
>> Setting tp->scroll.direction = 0 before checking tp->scroll.direction
>> to see if we need to send stop scroll events for vert / horz scrolling does
>> not really work well.
>>
>> Als
On Fri, May 23, 2014 at 04:06:23PM +0200, Hans de Goede wrote:
> Setting tp->scroll.direction = 0 before checking tp->scroll.direction
> to see if we need to send stop scroll events for vert / horz scrolling does
> not really work well.
>
> Also we need to check direction with an axis mask, not th
Setting tp->scroll.direction = 0 before checking tp->scroll.direction
to see if we need to send stop scroll events for vert / horz scrolling does
not really work well.
Also we need to check direction with an axis mask, not the axis number.
While at it also add a tp_stop_scroll_events() helper fun