Re: [PATCH libinput 11/20] touchpad: Rework is_pointer handling

2014-04-24 Thread Jonas Ã…dahl
On Thu, Apr 24, 2014 at 03:28:26PM +1000, Peter Hutterer wrote: > On Tue, Apr 15, 2014 at 02:28:08PM +0200, Hans de Goede wrote: > > Move scanning for a suitable touch to be the pointer to tp_process_state > > and take tp_button_touch_active into account. > > > > Note this adds a tp_touch_active h

Re: [PATCH libinput 11/20] touchpad: Rework is_pointer handling

2014-04-23 Thread Peter Hutterer
On Tue, Apr 15, 2014 at 02:28:08PM +0200, Hans de Goede wrote: > Move scanning for a suitable touch to be the pointer to tp_process_state > and take tp_button_touch_active into account. > > Note this adds a tp_touch_active helper since we want to do the same checks in > other places too (ie to see

[PATCH libinput 11/20] touchpad: Rework is_pointer handling

2014-04-15 Thread Hans de Goede
Move scanning for a suitable touch to be the pointer to tp_process_state and take tp_button_touch_active into account. Note this adds a tp_touch_active helper since we want to do the same checks in other places too (ie to see if a finger should count for 2 finger scrolling). Signed-off-by: Hans d