Re: [PATCH v2 libinput] tablet: sync tools already in proximity at startup

2015-03-04 Thread Peter Hutterer
On Tue, Mar 03, 2015 at 12:29:28PM -0500, Benjamin Tissoires wrote: > On Mon, Mar 2, 2015 at 10:29 PM, Benjamin Tissoires > wrote: > > On Mon, Mar 2, 2015 at 7:59 PM, Peter Hutterer > > wrote: > >> If a tool is in proximity when we init, send a proximity event immediately. > >> > >> This is only

Re: [PATCH v2 libinput] tablet: sync tools already in proximity at startup

2015-03-03 Thread Benjamin Tissoires
On Mon, Mar 2, 2015 at 10:29 PM, Benjamin Tissoires wrote: > On Mon, Mar 2, 2015 at 7:59 PM, Peter Hutterer > wrote: >> If a tool is in proximity when we init, send a proximity event immediately. >> >> This is only partially reliable due to the current kernel behavior: >> * if the tool comes int

Re: [PATCH v2 libinput] tablet: sync tools already in proximity at startup

2015-03-02 Thread Benjamin Tissoires
On Mon, Mar 2, 2015 at 7:59 PM, Peter Hutterer wrote: > If a tool is in proximity when we init, send a proximity event immediately. > > This is only partially reliable due to the current kernel behavior: > * if the tool comes into proximity when there is no evdev client, the device > won't send

[PATCH v2 libinput] tablet: sync tools already in proximity at startup

2015-03-02 Thread Peter Hutterer
If a tool is in proximity when we init, send a proximity event immediately. This is only partially reliable due to the current kernel behavior: * if the tool comes into proximity when there is no evdev client, the device won't send any events and must be lifted out-of-proximity first. * if the t