[PATCH libinput 4/4] Move touch_notify_frame declaration to the other touch functions

2016-10-27 Thread Peter Hutterer
No functional changes Signed-off-by: Peter Hutterer --- src/libinput-private.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libinput-private.h b/src/libinput-private.h index 28656e0..5b46da7 100644 --- a/src/libinput-private.h +++ b/src/libinput-private.h @@ -5

[PATCH libinput 1/4] touchpad: split the touchpad->keyboard/trackpoint pairing helpers out

2016-10-27 Thread Peter Hutterer
No functional changes Signed-off-by: Peter Hutterer --- src/evdev-mt-touchpad.c | 24 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c index 7867122..2ee0f79 100644 --- a/src/evdev-mt-touchpad.c +++ b/src/ev

[PATCH libinput 2/4] touchpad: check for trackpoint/keyboard at the top of the helpers

2016-10-27 Thread Peter Hutterer
No functional changes, just to filter out devices that don't match immediately. Signed-off-by: Peter Hutterer --- src/evdev-mt-touchpad.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c index 2ee0f79..d72cb19 100644

[PATCH libinput 3/4] Add missing event type checks to libinput_event_gesture_get_base_event

2016-10-27 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- src/libinput.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/src/libinput.c b/src/libinput.c index 6ad497e..1e97ad1 100644 --- a/src/libinput.c +++ b/src/libinput.c @@ -3032,6 +3032,16 @@ libinput_event_touch_get_base_event(struct libinput_even

[PATCH libinput] udev: add the hwdb_parser.py test from systemd

2016-10-27 Thread Peter Hutterer
upstream for this file lives in systemd, any changes to the actual parser should flow back there. libinput's matches are fairly simple. We have the various LIBINPUT_MODEL_ tags that just take a "1" and the two attributes that are dimensions. Signed-off-by: Peter Hutterer --- configure.ac

weston and graphics tablet support?

2016-10-27 Thread Peter Hutterer
Time to discuss graphics tablet support in weston: I had a patchset for some earlier version of the tablet protocol, since then we've added a few bits and bobs, including the mode switching support. Short story behind this email is: I seriously question the point of having a tablet implementation

[PATCH libinput] evdev: implement support for the MOUSE_WHEEL_CLICK_COUNT property

2016-10-27 Thread Peter Hutterer
Not all mice have a click angle with integer degrees. The new MOUSE_WHEEL_CLICK_COUNT property specifies how many clicks per full rotation, the angle can be calculated from that. See https://github.com/systemd/systemd/pull/4440 for more information CLICK_COUNT overrides CLICK_ANGLE, so we check f

Re: Kinetic scroll in libinput Xorg driver

2016-10-27 Thread The Rasterman
On Fri, 28 Oct 2016 13:32:06 +1000 Peter Hutterer said: > On Fri, Oct 28, 2016 at 08:25:51AM +0900, Carsten Haitzler wrote: > > On Thu, 27 Oct 2016 11:51:00 +0200 Carlos Garnacho said: > > > > > Hey Carsten!, > > > > > > On Thu, Oct 27, 2016 at 4:11 AM, Carsten Haitzler > > > wrote: > > > > O

Re: Kinetic scroll in libinput Xorg driver

2016-10-27 Thread Peter Hutterer
On Fri, Oct 28, 2016 at 08:25:51AM +0900, Carsten Haitzler wrote: > On Thu, 27 Oct 2016 11:51:00 +0200 Carlos Garnacho said: > > > Hey Carsten!, > > > > On Thu, Oct 27, 2016 at 4:11 AM, Carsten Haitzler > > wrote: > > > On Wed, 26 Oct 2016 06:57:53 + "Alexis BRENON @Wayland" > > +wayl...@g

Re: Hello!

2016-10-27 Thread The Rasterman
On Thu, 27 Oct 2016 23:55:36 +0530 Rohit Burra said: > I am Rohit, a student at Vishnu Institute of Technology. I am interested in > the Wayland project and would like to contribute. I can write code in C, > Python. My GitHub profile: https://github.com/iamrohit7/ Can anyone please > help me get

Re: Kinetic scroll in libinput Xorg driver

2016-10-27 Thread The Rasterman
On Thu, 27 Oct 2016 11:51:00 +0200 Carlos Garnacho said: > Hey Carsten!, > > On Thu, Oct 27, 2016 at 4:11 AM, Carsten Haitzler > wrote: > > On Wed, 26 Oct 2016 06:57:53 + "Alexis BRENON @Wayland" > +wayl...@gmail.com> said: > > > >> Just to be sure that I understand clearly, what you call

Re: Kinetic scroll in libinput Xorg driver

2016-10-27 Thread Peter Hutterer
On Thu, Oct 27, 2016 at 02:44:31PM +0100, adlo wrote: > > On 25 Oct 2016, at 12:08, Peter Hutterer wrote: > > > > ok, this will be unpopular with the internets, but the times of "I don't > > want to have a DE" are over. yes, you can still do it. you can run > > scripts in xinit to set up things,

Hello!

2016-10-27 Thread Rohit Burra
I am Rohit, a student at Vishnu Institute of Technology. I am interested in the Wayland project and would like to contribute. I can write code in C, Python. My GitHub profile: https://github.com/iamrohit7/ Can anyone please help me get started? I tried searching for beginner/easy bugs which most o

[RFC wayland] tests: Test wl_message_count_arrays

2016-10-27 Thread Yong Bakos
From: Yong Bakos message-test.c did not cover wl_message_count_arrays, so add one test that specifically tests this method. Note that this exposes wl_message_count_arrays in a private header (wayland-private.h), and removes the `static` modifier of the implementation. Signed-off-by: Yong Bakos

[PATCH wayland] util: Document wl_message

2016-10-27 Thread Yong Bakos
From: Yong Bakos Signed-off-by: Yong Bakos --- src/wayland-util.h | 68 ++ 1 file changed, 68 insertions(+) diff --git a/src/wayland-util.h b/src/wayland-util.h index 7b280d1..4dba1ed 100644 --- a/src/wayland-util.h +++ b/src/wayland-util.h @

Re: Kinetic scroll in libinput Xorg driver

2016-10-27 Thread adlo
> On 25 Oct 2016, at 12:08, Peter Hutterer wrote: > > ok, this will be unpopular with the internets, but the times of "I don't want > to have a DE" are over. yes, you can still do it. you can run scripts in > xinit to set up things, but the vast majority of users will need to/want to > have a

Re: Kinetic scroll in libinput Xorg driver

2016-10-27 Thread Carlos Garnacho
Hey Carsten!, On Thu, Oct 27, 2016 at 4:11 AM, Carsten Haitzler wrote: > On Wed, 26 Oct 2016 06:57:53 + "Alexis BRENON @Wayland" +wayl...@gmail.com> said: > >> Just to be sure that I understand clearly, what you call 'Toolkit' is >> libraries like GTK, Qt, and co. that are used by developers

Re: [PATCH] [weston, v2] weston.ini: Add natural scroll support to weston.ini

2016-10-27 Thread Jiayi Zhao
The most recent patch is the one with natural_scroll in weston.ini I tried changing it to enable_natural_scroll, but it was giving me a hard time and wasnt working properly :/ Jiayi On Oct 23, 2016 5:51 PM, "Peter Hutterer" wrote: > > sorry, I'm getting lost here, which one is the most rece

Re: [PATCH libinput 1/3] Mark some internal log functions as printf-style function

2016-10-27 Thread Eric Engestrom
On Monday, 2016-10-24 11:45:17 +1000, Peter Hutterer wrote: > Fixes the respective clang warnings > > Signed-off-by: Peter Hutterer > --- > src/libinput.c| 6 ++ > test/litest.c | 16 > test/misc.c | 7 +++ > tools/event-gui.c | 8 > tools/share

[PATCH libinput 3/3] test: fix clang warning about abs(float)

2016-10-27 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- test/touchpad.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/touchpad.c b/test/touchpad.c index 0169bd7..9a4aa6c 100644 --- a/test/touchpad.c +++ b/test/touchpad.c @@ -4427,8 +4427,8 @@ START_TEST(touchpad_jump_finger_motion)

Re: Kinetic scroll in libinput Xorg driver

2016-10-27 Thread Silvan Jegen
On Wed, Oct 26, 2016 at 8:57 AM, Alexis BRENON @Wayland wrote: > Finally, do you know some tiling DE/WM Wayland compliant ? The two that come to mind are: https://github.com/michaelforney/velox Velox: a Wayland port of dwm with minimal dependencies http://swaywm.org/ Sway: which is a port of i3