Re: [PATCH 1/8] protocol: add presentation extension v4

2014-09-16 Thread Pekka Paalanen
On Tue, 16 Sep 2014 14:16:37 -0700 Bryce Harrington wrote: > On Tue, Sep 16, 2014 at 10:34:29AM +0300, Pekka Paalanen wrote: > > On Mon, 15 Sep 2014 23:12:24 -0700 > > Bryce Harrington wrote: > > > > > Mostly just some minor grammar improvement suggestions... > > > > Appreciated. :-) > > > >

Re: [PATCH 1/8] protocol: add presentation extension v4

2014-09-16 Thread Bryce Harrington
On Tue, Sep 16, 2014 at 10:34:29AM +0300, Pekka Paalanen wrote: > On Mon, 15 Sep 2014 23:12:24 -0700 > Bryce Harrington wrote: > > > Mostly just some minor grammar improvement suggestions... > > Appreciated. :-) > > > On Mon, Sep 15, 2014 at 04:16:40PM -0400, Louis-Francis Ratté-Boulianne > >

[PATCH 0/2] clients: crash fixes when interfaces are unavailable

2014-09-16 Thread Olivier Blin
Hello, These small patches fix crashes in clients when some compositor interfaces are not available. This can occur when running the clients together with another compositor than weston, for example QWaylandCompositor without the TextInputExtension flag enabled. Olivier Blin (2): keyboard: do

[PATCH 2/2] editor: do not crash when text input manager is not available

2014-09-16 Thread Olivier Blin
--- clients/editor.c | 5 + 1 file changed, 5 insertions(+) diff --git a/clients/editor.c b/clients/editor.c index 66cba0b..03cf550 100644 --- a/clients/editor.c +++ b/clients/editor.c @@ -1359,6 +1359,11 @@ main(int argc, char *argv[]) display_set_user_data(editor.display, &editor);

[PATCH 1/2] keyboard: do not crash when input panel is not available

2014-09-16 Thread Olivier Blin
--- clients/keyboard.c | 5 + 1 file changed, 5 insertions(+) diff --git a/clients/keyboard.c b/clients/keyboard.c index 7c11cec..57f8568 100644 --- a/clients/keyboard.c +++ b/clients/keyboard.c @@ -995,6 +995,11 @@ main(int argc, char *argv[]) display_set_user_data(virtual_keyboard.d

Re: Stabilizing wl_scaler protocol extension

2014-09-16 Thread Steven Newbury
On Tue, 2014-09-16 at 14:51 +0300, Pekka Paalanen wrote: > On Tue, 16 Sep 2014 13:26:12 +0200 > Alexander Preisinger preisin...@gmail.com> wrote: > > > Hi pq, > > > > I use it in my wayland-next branch (for unstable wayland stuff) of > > the mpv > > player: http://mpv.io/ > > In this commit: >

[PATCH libinput 8/8] test: Test the topbuttons of a disabled touchpad still send events through the trackpoint

2014-09-16 Thread Hans de Goede
From: Peter Hutterer Signed-off-by: Peter Hutterer Signed-off-by: Hans de Goede --- test/device.c | 58 ++ 1 file changed, 58 insertions(+) diff --git a/test/device.c b/test/device.c index 3f7ec4c..33aae04 100644 --- a/test/device.c +++

[PATCH libinput 2/8] evdev: Add middle button scrolling for trackpoints

2014-09-16 Thread Hans de Goede
Most trackpoint users want to be able to scroll using the trackpoint with the middle button pressed, add support for this. Signed-off-by: Hans de Goede Reviewed-by: Peter Hutterer --- include/linux/input.h| 1 + src/evdev.c | 56

[PATCH libinput 3/8] evdev: Add an internal device suspend / resume notification system

2014-09-16 Thread Hans de Goede
We have the ability for a device to form a link to another device through the device_added / device_removed callbacks. A device having such a link to another device may also want to know when that other device is disabled / enabled (suspended / resumed). So add a notification mechanism for this too

[PATCH libinput 1/8] evdev: Move generic scroll code from evdev-mt-touchpad.c to evdev.c

2014-09-16 Thread Hans de Goede
So that it can be used for middle button trackpoint scrolling too. Signed-off-by: Hans de Goede --- src/evdev-mt-touchpad.c | 57 +++-- src/evdev-mt-touchpad.h | 4 src/evdev.c | 49 ++ src/evde

[PATCH libinput 4/8] touchpad: Keep track of associated trackpoint device

2014-09-16 Thread Hans de Goede
From: Peter Hutterer The top soft buttons are intended for use with a trackpoint, and to e.g. make middle button scrolling work correctly, we must post the events for these "buttons" through the trackpoint device. This commit is a preparation patch for this, it adds a link to the trackpoint to t

[PATCH libinput 0/8] Middle button trackpoint scrolling & leaving top softbuttons working if touchpad is disabled

2014-09-16 Thread Hans de Goede
Hi All, This patch series adds middle button trackpoint scrolling & leaving top softbuttons working if touchpad is disabled support. It is based on the recent work by Peter, and it requires the patches Peter has here: https://github.com/whot/libinput/commits/wip/trackstick-detection Minus the l

[PATCH libinput 7/8] touchpad: When disabling a TOPBUTTONPAD, leave the top buttons enabled

2014-09-16 Thread Hans de Goede
On a TOPBUTTONPAD, we can't disable the touchpad altogether - the trackstick relies on the touchpad's top software buttons. Signed-off-by: Hans de Goede --- src/evdev-mt-touchpad-buttons.c | 4 src/evdev-mt-touchpad.c | 25 +++-- 2 files changed, 27 insertions(+

[PATCH libinput 5/8] touchpad: Route top softbuttons through the trackstick if we've one

2014-09-16 Thread Hans de Goede
The touchpad top softbuttons such as found on the Lenove T440 are intended for use with the trackstick. Route their events through the trackstick, so that they can be used for e.g. middle button scrolling with the trackstick. Note that sending top button events to a disabled trackpoint makes no se

[PATCH libinput 6/8] touchpad: Put state unrolling code in a tp_clear_state() helper function

2014-09-16 Thread Hans de Goede
For touchpads with top softbuttons we don't want to fully disable the touchpad on suspend, as we want to keep the top softbuttons working for the trackpoint. So in the suspended state some of the touchpad sub-statemachines will keep running (e.g. buttons) where others (e.g. tap) will not. This mea

Re: Stabilizing wl_scaler protocol extension

2014-09-16 Thread Alexander Preisinger
2014-09-16 13:51 GMT+02:00 Pekka Paalanen : > On Tue, 16 Sep 2014 13:26:12 +0200 > Alexander Preisinger wrote: > > > Hi pq, > > > > I use it in my wayland-next branch (for unstable wayland stuff) of the > mpv > > player: http://mpv.io/ > > In this commit: > > > https://github.com/mpv-player/mpv/c

Re: Stabilizing wl_scaler protocol extension

2014-09-16 Thread Pekka Paalanen
On Tue, 16 Sep 2014 13:26:12 +0200 Alexander Preisinger wrote: > Hi pq, > > I use it in my wayland-next branch (for unstable wayland stuff) of the mpv > player: http://mpv.io/ > In this commit: > https://github.com/mpv-player/mpv/commit/77cc885b44a9e95e5c3c9ae4961b9958ff5cf643 Good to know, tha

Re: Stabilizing wl_scaler protocol extension

2014-09-16 Thread Alexander Preisinger
Hi pq, I use it in my wayland-next branch (for unstable wayland stuff) of the mpv player: http://mpv.io/ In this commit: https://github.com/mpv-player/mpv/commit/77cc885b44a9e95e5c3c9ae4961b9958ff5cf643 I only just now realized that I should just use set_destination for my use case. So setting th

Stabilizing wl_scaler protocol extension

2014-09-16 Thread Pekka Paalanen
Hi, wl_scaler has been sitting in Weston for quite some time now: http://cgit.freedesktop.org/wayland/weston/tree/protocol/scaler.xml I would like to collect comments and opinions on the protocol extension: - Is it ready? - Are the interfaces ok? As in, have a wl_viewport created for a wl_surfa

Re: [PATCH 0/8] Wayland Presentation Extension v4

2014-09-16 Thread Pekka Paalanen
On Tue, 16 Sep 2014 09:47:24 +0300 Pekka Paalanen wrote: > Hi, > > just adding Mario and other possibly interested people to CC, so we get > e.g. GStreamer devs in the loop. > > Please, spread the word that this is it: the basic protocol for > having A/V sync begin to work on Wayland. All video

Re: [PATCH 1/8] protocol: add presentation extension v4

2014-09-16 Thread Pekka Paalanen
On Mon, 15 Sep 2014 23:12:24 -0700 Bryce Harrington wrote: > Mostly just some minor grammar improvement suggestions... Appreciated. :-) > On Mon, Sep 15, 2014 at 04:16:40PM -0400, Louis-Francis Ratté-Boulianne wrote: > > > diff --git a/Makefile.am b/Makefile.am > > diff --git a/protocol/presen