[PATCH libinput 4/4] touchpad: delay arbitration by 90ms after touch toggle

2018-02-20 Thread Peter Hutterer
When drawing on a tablet, the hand usually rests on the device, causing touch events. The kernel arbitrates for us in most cases, so we get a touch up and no events while the stylus is in proximity. When lifting the hand off in a natural position, the hand still touches the device when the pen goes

[PATCH libinput 3/4] evdev: pass the time down to toggle_touch

2018-02-20 Thread Peter Hutterer
Currently unused, will be used in later patches Signed-off-by: Peter Hutterer --- src/evdev-fallback.c| 3 ++- src/evdev-mt-touchpad.c | 3 ++- src/evdev-tablet.c | 18 -- src/evdev.h | 3 ++- 4 files changed, 18 insertions(+), 9 deletions(-) diff --git a

[PATCH libinput 1/4] touchpad: reset the palm state to NONE on a new touch

2018-02-20 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- src/evdev-mt-touchpad.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c index b3ed6d56..fdb7b452 100644 --- a/src/evdev-mt-touchpad.c +++ b/src/evdev-mt-touchpad.c @@ -271,6 +271,7 @@ tp_new_touch(struct tp_di

[PATCH libinput 2/4] touchpad: change the stylus palm arbitration to process touches

2018-02-20 Thread Peter Hutterer
Previously, on touch toggle (invoked by the tablet when a pen goes in proximity) the touchpad cleared the state and ignored any events. Since we ignore touches that we didn't see the touch begin for, this handled the cases of a touch remaining after proximity out. This code pre-dates palm detectio

Wrap xdg in IVI shell

2018-02-20 Thread Stuvart S
Hi team, I wrote a user app which is capable of displaying a surface. It works perfectly on xdg shell ,but when switching to ivi shell it doesn,t. I could know that there are differences in protocols,thats why it happens and there is one way that we can wrap xdg in ivi shell.But I am not aware of

Re: [PATCH v2] touchpad: add wobbling detection

2018-02-20 Thread Peter Hutterer
On Tue, Feb 20, 2018 at 08:58:33PM +0300, Konstantin Kharlamov wrote: > On 20.02.2018 17:31, Konstantin Kharlamov wrote: > > On 20.02.2018 13:44, Konstantin Kharlamov wrote: > > > On 20.02.2018 09:34, Peter Hutterer wrote: > > > > On Sun, Feb 18, 2018 at 11:14:55PM +0300, Konstantin Kharlamov wrote

Re: [PATCH v2] touchpad: add wobbling detection

2018-02-20 Thread Konstantin Kharlamov
On 20.02.2018 17:31, Konstantin Kharlamov wrote: On 20.02.2018 13:44, Konstantin Kharlamov wrote: On 20.02.2018 09:34, Peter Hutterer wrote: On Sun, Feb 18, 2018 at 11:14:55PM +0300, Konstantin Kharlamov wrote: +static inline void +tp_detect_wobbling(struct tp_dispatch *tp, int x_diff, uint64_

Re: [PATCH weston 0/3 v2] DRM lease support

2018-02-20 Thread Daniel Vetter
On Tue, Feb 13, 2018 at 11:08:38AM +, Daniel Stone wrote: > Hi all, > > On 13 February 2018 at 11:02, Marius-cristian Vlad > wrote: > > The sample client I've posted seems to be using the overlay plane. > > Also, Daniel Stone confirmed a while back that they can be used. > > > > However it se

Re: [PATCH v2] touchpad: add wobbling detection

2018-02-20 Thread Konstantin Kharlamov
On 20.02.2018 13:44, Konstantin Kharlamov wrote: On 20.02.2018 09:34, Peter Hutterer wrote: On Sun, Feb 18, 2018 at 11:14:55PM +0300, Konstantin Kharlamov wrote: +static inline void +tp_detect_wobbling(struct tp_dispatch *tp, int x_diff, uint64_t time) +{ +    if (tp->hysteresis.enabled) + 

Re: 2018 X.Org Board of Directors Elections Nomination period is NOW

2018-02-20 Thread Rob Clark
Just a reminder, nominations are open for a few more days. If you would like to nominate yourself or someone else please send your nomination to electi...@x.org BR, -R On Fri, Feb 9, 2018 at 9:01 AM, Rob Clark wrote: > We are seeking nominations for candidates for election to the X.Org > Founda

Re: [PATCH] compositor-drm: handle null cursor_plane

2018-02-20 Thread Pekka Paalanen
On Mon, 19 Feb 2018 17:59:42 +0300 Greg V wrote: > Was crashing when I tried to take a screenshot. > --- > On my slightly unconventional setup (FreeBSD amdgpu), after merging > recent changes, pressing the screenshot hotkey was crashing weston. > > Debugging revealed that cursor_plane was 0x0 h

Re: [PATCH weston v3 6/6] libweston: Implement touch timestamps for input_timestamps_unstable_v1

2018-02-20 Thread Pekka Paalanen
On Tue, 20 Feb 2018 14:07:03 +0200 Alexandros Frantzis wrote: > Implement the zwp_input_timestamps_manager_v1.get_touch_timestamps > request to subscribe to timestamp events for wl_touch resources. Ensure > that the request handling code can gracefully handle inert touch > resources. > > Signed-

[PATCH weston v3 6/6] libweston: Implement touch timestamps for input_timestamps_unstable_v1

2018-02-20 Thread Alexandros Frantzis
Implement the zwp_input_timestamps_manager_v1.get_touch_timestamps request to subscribe to timestamp events for wl_touch resources. Ensure that the request handling code can gracefully handle inert touch resources. Signed-off-by: Alexandros Frantzis --- Changes in v3: - In touch_timestamps_stop_

[PATCH weston v3 5/6] libweston: Implement pointer timestamps for input_timestamps_unstable_v1

2018-02-20 Thread Alexandros Frantzis
Implement the zwp_input_timestamps_manager_v1.get_pointer_timestamps request to subscribe to timestamp events for wl_pointer resources. Ensure that the request handling code can gracefully handle inert pointer resources. Signed-off-by: Alexandros Frantzis --- Changes in v3: - In pointer_timestam

[PATCH weston v3 4/6] libweston: Implement keyboard timestamps for input_timestamps_unstable_v1

2018-02-20 Thread Alexandros Frantzis
Implement the zwp_input_timestamps_manager_v1.get_keyboard_timestamps request to subscribe to timestamp events for wl_keyboard resources. Ensure that the request handling code can gracefully handle inert keyboard resources. This commit introduces a few internal helper functions which will also be

Re: [PATCH v2] touchpad: add wobbling detection

2018-02-20 Thread Konstantin Kharlamov
On 20.02.2018 09:34, Peter Hutterer wrote: On Sun, Feb 18, 2018 at 11:14:55PM +0300, Konstantin Kharlamov wrote: +static inline void +tp_detect_wobbling(struct tp_dispatch *tp, int x_diff, uint64_t time) +{ + if (tp->hysteresis.enabled) + return; + + /* Idea: if we got

Re: [PATCH weston v2 0/6] libweston: Support input_timestamps_unstable_v1

2018-02-20 Thread Pekka Paalanen
On Fri, 16 Feb 2018 18:44:13 +0200 Alexandros Frantzis wrote: > The input_timestamps_unstable_v1 protocol allows clients to subscribe to > high-resolution timestamp events for input events (see [1]). > > This patchset implements the input_timestamps_unstable_v1 protocol in > libweston > and als

Re: [PATCH weston v2 4/6] libweston: Implement keyboard timestamps for input_timestamps_unstable_v1

2018-02-20 Thread Pekka Paalanen
On Fri, 16 Feb 2018 18:44:17 +0200 Alexandros Frantzis wrote: > Implement the zwp_input_timestamps_manager_v1.get_keyboard_timestamps > request to subscribe to timestamp events for wl_keyboard resources. > Ensure that the request handling code can gracefully handle inert > keyboard resources. >