[PATCH libinput 2/4] touchpad: move clickfinger finger decision into a helper function

2015-06-02 Thread Peter Hutterer
No functional changes. Signed-off-by: Peter Hutterer --- src/evdev-mt-touchpad-buttons.c | 27 +++ 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/src/evdev-mt-touchpad-buttons.c b/src/evdev-mt-touchpad-buttons.c index 4b1d6ab..f0c39b6 100644 --- a/src/evde

[PATCH libinput 4/4] touchpad: on non-resolution touchpads, use 30% as maximum clickfinger spread

2015-06-02 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- src/evdev-mt-touchpad-buttons.c | 35 +++ test/touchpad.c | 2 +- 2 files changed, 24 insertions(+), 13 deletions(-) diff --git a/src/evdev-mt-touchpad-buttons.c b/src/evdev-mt-touchpad-buttons.c index 469f0fa..57

[PATCH libinput 3/4] touchpad: impose maximum distance limits on clickfingers

2015-06-02 Thread Peter Hutterer
A common use-case for clickfinger is to use the index finger for moving the pointer, then triggering the click with a thumb. If the index finger isn't lifted before the click this counted as two-finger click. To avoid this, check the distance between touches on the touchpad (on touchpads reporting

[PATCH libinput 1/4] touchpad: replace hardcoded resolution > 1

2015-06-02 Thread Peter Hutterer
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 aa9fa57..24f33f4 100644 --- a/src/evdev-mt-touchpad.c +++ b/src/evdev-mt-touchpad.c @@ -1273,7 +1273,7 @@ tp_init_a

[ANNOUNCE] weston 1.8.0

2015-06-02 Thread Bryce Harrington
Welcome to the official release of Weston 1.8. This cycle's development saw the upstreaming of several pieces of Collabora's work from this past year, keeping up with the EGL modernization, and the testing framework. Feature changes include: repaint scheduling, named outputs, output transformatio

[ANNOUNCE] wayland 1.8.0

2015-06-02 Thread Bryce Harrington
This is the official announcement for Wayland 1.8. Wayland 1.8 splits the client and server header files into core and generated protocol. The core headers can be included as wayland-client-core.h and wayland-server-core.h. The scanner also now supports a --include-core-only option, which causes

Re: [RFC PATCH v3 wayland] protocol: add wl_pointer.axis_source, axis_stop and axis_discrete events

2015-06-02 Thread Peter Hutterer
On Tue, Jun 02, 2015 at 04:06:23PM +0800, Jonas Ådahl wrote: > Hi, > > > I think this looks pretty decent now. Currently I have no more issues > with the protocol, only minor nits and comments on wording etc. that can > be found inline. Assuming those are addressed, this patch has my > Reviewed-b

Re: [PATCH v2 libinput 2/2] evdev: remove direct checks for INPUT_PROP_POINTING_STICK

2015-06-02 Thread Peter Hutterer
On Tue, Jun 02, 2015 at 05:22:42PM -0400, Benjamin Tissoires wrote: > If we need to temporary override a device with ID_INPUT_POINTINGSTICK, > evdev sets the tag EVDEV_TAG_TRACKPOINT to the device. Rely on the tag > to behave properly for scroll emulation. > > The dpi information should be retriev

[PATCH v2 libinput 2/2] evdev: remove direct checks for INPUT_PROP_POINTING_STICK

2015-06-02 Thread Benjamin Tissoires
If we need to temporary override a device with ID_INPUT_POINTINGSTICK, evdev sets the tag EVDEV_TAG_TRACKPOINT to the device. Rely on the tag to behave properly for scroll emulation. The dpi information should be retrieved after the device has been configured or the tag EVDEV_TAG_TRACKPOINT was no

[PATCH v2 libinput 1/2] evdev: remove tag_device from evdev_dispatch_interface

2015-06-02 Thread Benjamin Tissoires
Tagging a device should occurs only once during configure. We do not have device that can be changed after they are configured, so there is no point in having the tagging part in a deferred struct. Plus, the note saying that we tag with only one of EVDEV_TAG was wrong. Now that we are chosing when

Re: [PATCH weston v2 05/21] desktop-shell: Track the black surface by its view

2015-06-02 Thread Arnaud Vrac
On Tue, Jun 2, 2015 at 11:26 AM, Jonas Ådahl wrote: > On Fri, May 29, 2015 at 05:07:08PM +0200, Arnaud Vrac wrote: > > Hi Jonas, > > Hi, > > > > > This patch makes the black_surface_get_label function crash. The black > surface should track the fullscreen view in the configure_private field > ins

RE: Re: [libxkbcommon] Question about how to get xkb_keycode_t from xkb_keysym_t.

2015-06-02 Thread 박성진
Dear Daniel and Jasper St.Pierre, thank you for your opinion ! There is a key processing module as a plugin module of a wayland compositor and it has data structures tightly coupled with a keycode. I’m considering to re-write the data structures which contain keysym type variable instead of

Re: [PATCH weston v2 05/21] desktop-shell: Track the black surface by its view

2015-06-02 Thread Jonas Ådahl
On Fri, May 29, 2015 at 05:07:08PM +0200, Arnaud Vrac wrote: > Hi Jonas, Hi, > > This patch makes the black_surface_get_label function crash. The black > surface should track the fullscreen view in the configure_private field > instead of the black surface view. > > See the attached patch for

Re: [RFC PATCH v3 wayland] protocol: add wl_pointer.axis_source, axis_stop and axis_discrete events

2015-06-02 Thread Jonas Ådahl
Hi, I think this looks pretty decent now. Currently I have no more issues with the protocol, only minor nits and comments on wording etc. that can be found inline. Assuming those are addressed, this patch has my Reviewed-by. On Thu, May 07, 2015 at 03:54:08PM +1000, Peter Hutterer wrote: > The a

Re: [PATCH libinput] evdev: always default to the middle button for button-scrolling

2015-06-02 Thread Hans de Goede
Hi, On 02-06-15 08:47, Peter Hutterer wrote: The current code only defaulted to the middle button for those devices that used button scrolling by default, requiring the user to enable button scrolling _and_ set the button before it is active. This causes some confusion. There is no real benefit