Re: [PATCH v3 weston] Introduce wl_relative_pointer interface

2015-06-28 Thread Peter Hutterer
On Fri, Jun 26, 2015 at 12:38:01PM +0800, Jonas Ã…dahl wrote: > A wl_relative_pointer object is an extension to the wl_pointer interface > only used for emitting relative pointer events. It will only emit events > when the parent pointer has focus. > > To get a relative pointer object, use the get_

Re: [PATCH v2 weston 00/16] Atomic modesetting support

2015-06-28 Thread Pekka Paalanen
On Fri, 26 Jun 2015 14:27:48 +0100 Daniel Stone wrote: > Hi, > > On 24 June 2015 at 13:11, Pekka Paalanen wrote: > > I think the best way to cache state is to let it stay in the kernel, > > and avoid submitting a disable followed by the old state that's already > > there. If we manage that, ma

Re: [PATCH V3 libinput] evdev: remove checks for fake_resolution

2015-06-28 Thread Peter Hutterer
On Thu, Jun 25, 2015 at 08:06:29AM -0700, spit...@gmail.com wrote: > From: Bill Spitzak > > (changes from previous version: rounds the guess and changes 0 to 1, > removed unused variables) > > Instead a default resolution is set if the device does not claim one. > The selected value is a guess t

[PATCH libinput 4/5] touchpad: improve trackpoint palm detection responsiveness

2015-06-28 Thread Peter Hutterer
The touchpad is disabled for 500ms after a trackpoint event to avoid erroneous palm touches. This is currently refreshed on every trackpoint event and thus forces a delay of 500ms when switching between the two. Instead, reduce the timeout to 300ms but ignore any touches started while the trackpoi

[PATCH libinput 1/5] util: allow list_remove() on a NULL node

2015-06-28 Thread Peter Hutterer
Don't require a list_init() on a node before we can call list_remove on it, it clutters up the code for little benefit. Signed-off-by: Peter Hutterer --- src/libinput-util.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/libinput-util.c b/src/libinput-util.c index 3a9c8db..f19695c 10

[PATCH libinput 5/5] touchpad: disable trackpoint palm detection on small touchpads

2015-06-28 Thread Peter Hutterer
Tested on three laptops here, Lenovo T61, X220 and an HP EliteBook (?), all with small touchpads. It's hard to have a hand position where the palm touches the touchpad while using the trackpoint. So we might as well save us the effort of monitoring events and enabling/disabling it on demand. As a

[PATCH libinput 2/5] touchpad: move trackpoint timer stuff into the palm struct

2015-06-28 Thread Peter Hutterer
No functional changes, just rearranging where it fits better. Signed-off-by: Peter Hutterer --- src/evdev-mt-touchpad.c | 20 ++-- src/evdev-mt-touchpad.h | 10 +- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touc

[PATCH libinput 3/5] touchpad: always set touch->palm.time on touch begin

2015-06-28 Thread Peter Hutterer
We will use this outside of DWT, so set it unconditionally on touch begin. Signed-off-by: Peter Hutterer --- src/evdev-mt-touchpad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c index a2a3a63..792184c 100644 --- a/src/evdev

Re: [PATCH 03/10] cms-helper/static: Add "identity" builtin cms profile (v2)

2015-06-28 Thread Mario Kleiner
On 06/26/2015 08:29 PM, Derek Foreman wrote: On 21/06/15 02:25 PM, Mario Kleiner wrote: Allows to force loading an identity gamma table if option icc_profile=identity is given in weston.ini for an output. Some special display output devices, e.g., for neuro-science applications, and special dis

Re: Wayland Relative Pointer API Progress

2015-06-28 Thread x414e54
*facepalm* On Wed, Jun 24, 2015 at 3:57 AM, Bill Spitzak wrote: > I am not introducing any lag. If the client takes 1/2 second to draw the > result of a mouse movement, it will still take 1/2 second under my scheme. > Exactly the same amount of lag. However in my scheme the cursor will be > drawn