[PATCH libinput 1/4] tools: add a command to analyze trackpoints

2017-07-12 Thread Peter Hutterer
Trackpoints can send very different ranges between the various pressures. Collect the data and print it out to get an idea of what ranges are realistic. Signed-off-by: Peter Hutterer --- meson.build | 9 ++

[PATCH libinput 2/4] filter: add a custom trackpoint accelerator

2017-07-12 Thread Peter Hutterer
Switch to a pure factor with a max scaled after a function. The offset is just 0 now (will be removed eventually). Both are determined with a function based on a linear/exponential regression of a sample set of data pairs. Signed-off-by: Peter Hutterer ---

[PATCH libinput 3/4] trackpoint: drop handling of CONST_ACCEL and undo SENSITIVITY

2017-07-12 Thread Peter Hutterer
This was to counteract hardware that doesn't work well out of the box, resulting in quite different behavior across devices. Specifically, only some trackpoints even have the sensitivity setting. Change to take over all of the pointer acceleration on trackpoints, so we can control the actual

[PATCH libinput 0/4] trackpoint: switch to a new acceleration method

2017-07-12 Thread Peter Hutterer
I've been working on this on and off for too long, it's time to get this merged and adjusted later if need be. Basic summary: we used to use the low-dpi acceleration method for trackpoints, this patchset switches us to a basic linear acceleration method. Many trackpoints have an acceleration

[PATCH libinput 4/4] trackpoint: parse a trackpoint range property

2017-07-12 Thread Peter Hutterer
Add parsing for a LIBINPUT_ATTR_TRACKPOINT_RANGE property to enable hardware-dependent ranges. These take precedence over the sensitivity parsing. Signed-off-by: Peter Hutterer --- src/evdev.c | 16 1 file changed, 16 insertions(+) diff --git

[PATCH weston 2/3] libweston-desktop/xdg-shell: Add pending/next/current structs

2017-07-12 Thread Quentin Glidic
From: Quentin Glidic Signed-off-by: Quentin Glidic --- libweston-desktop/xdg-shell-v5.c | 80 ++--- libweston-desktop/xdg-shell-v6.c | 97 ++-- 2 files changed, 98

[PATCH weston 1/3] libweston-desktop/xdg-shell: Rename requested_ to pending_

2017-07-12 Thread Quentin Glidic
From: Quentin Glidic Signed-off-by: Quentin Glidic --- libweston-desktop/xdg-shell-v5.c | 56 +++--- libweston-desktop/xdg-shell-v6.c | 58 2 files changed, 57

[PATCH weston 3/3] libweston-desktop/xdg-shell: Check surface size against acknowledged size

2017-07-12 Thread Quentin Glidic
From: Quentin Glidic We were checking against the pending size, which lead some clients (simple-egl) to crash because they sent a buffer before acknowledging the latest configure event. Signed-off-by: Quentin Glidic ---

Re: [PATCH weston 2/3] libweston-desktop/xdg-shell: Add pending/next/current structs

2017-07-12 Thread Jonas Ådahl
On Wed, Jul 12, 2017 at 09:53:03AM +0200, Quentin Glidic wrote: > From: Quentin Glidic > > Signed-off-by: Quentin Glidic Reviewed-by: Jonas Ådahl > --- > libweston-desktop/xdg-shell-v5.c | 80

Re: [PATCH weston 3/3] libweston-desktop/xdg-shell: Check surface size against acknowledged size

2017-07-12 Thread Quentin Glidic
On 7/12/17 12:07 PM, Jonas Ådahl wrote: On Wed, Jul 12, 2017 at 12:02:29PM +0200, Quentin Glidic wrote: On 7/12/17 11:23 AM, Jonas Ådahl wrote: On Wed, Jul 12, 2017 at 09:53:04AM +0200, Quentin Glidic wrote: From: Quentin Glidic We were checking against the

Re: [RFC PATCH v2] Add xdg-output protocol

2017-07-12 Thread Pekka Paalanen
On Fri, 7 Jul 2017 04:21:57 -0400 (EDT) Olivier Fourdan wrote: > Hi Pekka, > > > it's very hard for me to wrap my head around this, so the below may > > sound a bit harsh, sorry. I don't mean to rant, but I feel there is > > something fundamental amiss. I am diving back

Re: [PATCH weston 3/3] libweston-desktop/xdg-shell: Check surface size against acknowledged size

2017-07-12 Thread Jonas Ådahl
On Wed, Jul 12, 2017 at 09:53:04AM +0200, Quentin Glidic wrote: > From: Quentin Glidic > > We were checking against the pending size, which lead some clients > (simple-egl) to crash because they sent a buffer before acknowledging > the latest configure event. > >

[PATCH v3 xserver] xwayland: Add grab protocol support

2017-07-12 Thread Olivier Fourdan
The keyboard grabbing protocol for Xwayland is included in wayland-protocol 1.9. Update the wayland-protocol required version in both configure and meson builds and add support for this new protocol in Xwayland. Signed-off-by: Olivier Fourdan Reviewed-by: Peter Hutterer

Re: [PATCH weston 1/3] libweston-desktop/xdg-shell: Rename requested_ to pending_

2017-07-12 Thread Jonas Ådahl
On Wed, Jul 12, 2017 at 09:53:02AM +0200, Quentin Glidic wrote: > From: Quentin Glidic > > Signed-off-by: Quentin Glidic Reviewed-by: Jonas Ådahl > --- > libweston-desktop/xdg-shell-v5.c | 56

Re: [PATCH weston 3/3] libweston-desktop/xdg-shell: Check surface size against acknowledged size

2017-07-12 Thread Quentin Glidic
On 7/12/17 11:23 AM, Jonas Ådahl wrote: On Wed, Jul 12, 2017 at 09:53:04AM +0200, Quentin Glidic wrote: From: Quentin Glidic We were checking against the pending size, which lead some clients (simple-egl) to crash because they sent a buffer before acknowledging

[ANNOUNCE] weston 2.99.91

2017-07-12 Thread Bryce Harrington
This is the alpha for the Weston 3.0 release. Attention went into improving the integration of drm_fb within the DRM compositor. libdrm is now a non-optional build-time dependency. Multi-head repainting is now done globally rather than per-output, and output routing is rearranged a bit to allow