[PATCH xf86-video-wayland] ANNOUNCEMENT: this is no longer a thing, use the Xwayland server instead

2014-09-17 Thread Pekka Paalanen
From: Pekka Paalanen Signed-off-by: Pekka Paalanen --- COPYING | 22 -- Makefile.am | 29 --- README | 17 +- autogen.sh | 12 - configure.ac | 72 -- src/Makefile.am | 37 src/compat-api.h | 106 - src/wayland.c| 653 ---

[PATCH libinput 7/7] test: add some tests for jumping fingers on touchpads

2014-09-17 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- test/touchpad.c | 259 1 file changed, 259 insertions(+) diff --git a/test/touchpad.c b/test/touchpad.c index ea02f47..37df992 100644 --- a/test/touchpad.c +++ b/test/touchpad.c @@ -1623,6 +1623,255 @@ ST

[PATCH libinput 6/7] touchpad: detect coordinate jumps on touchpads

2014-09-17 Thread Peter Hutterer
Such jumps are usually consequences of the touchpad firmware failing to notice that a different finger is in fact touching the touchpad. This happens frequently when a finger is lifted at the same time as a second finger is set down. Instead of a ABS_MT_TRACKING_ID of -1 followed by a new touchpoi

[PATCH libinput 1/7] test: increase the number of steps for touch movement

2014-09-17 Thread Peter Hutterer
Prep work to avoid false positives in the upcoming touch-jump detection patch. Signed-off-by: Peter Hutterer --- test/touchpad.c | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/test/touchpad.c b/test/touchpad.c index 7ff3d14..a6e2dd7 100644

[PATCH libinput 5/7] touchpad: only send button events if we have button events queued

2014-09-17 Thread Peter Hutterer
Even if the button state differs, only send events if we claim we have a button press or release queued up. Otherwise, skip over the event. This cannot happen in the current code, it's prep-work for an upcoming patch. Signed-off-by: Peter Hutterer --- src/evdev-mt-touchpad-buttons.c | 36 +++

[PATCH libinput 2/7] test: add helper functions for the two timers we care about

2014-09-17 Thread Peter Hutterer
Rather than a random msleep() with a comment, use a helper function that describes what we're waiting for. Also makes changing the timeouts easier in the future. Signed-off-by: Peter Hutterer --- test/litest.c | 12 test/litest.h | 3 +++ test/touchpad.c | 42 ++

[PATCH libinput 3/7] test: add litest_push/pop_event_frame() helpers

2014-09-17 Thread Peter Hutterer
For some tests we need to string multiple event sequences together into one event frame. Use a push/pop frame approach that stops litest from sending any EV_SYN/SYN_REPORT events, so we can merge two touches together by e.g. litest_push_event_frame(d); litest_touch_down(d, 0, 10, 10); litest_touch

[PATCH libinput 4/7] touchpad: move updating of buttons.old_state to the process function

2014-09-17 Thread Peter Hutterer
Update the old_state once we've posted the respective buttons rather than waiting for post_process to kick in. This allows calling our function multiple times without double-posting the events. Signed-off-by: Peter Hutterer --- src/evdev-mt-touchpad-buttons.c | 7 +++ src/evdev-mt-touchpad.c

[PATCH libinput 0/7] Handle jumping cursors

2014-09-17 Thread Peter Hutterer
When a finger leaves the touchpad at the same time as another finger sets down, a touchpad may not notice the change in fingers but rather think the touchpoint moved to the new position. Bug 76722 has an event sequence but it really boils down to just a move of a touch, identifiable only by the di

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

2014-09-17 Thread Peter Hutterer
From: 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

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

2014-09-17 Thread Peter Hutterer
On Tue, Sep 16, 2014 at 04:22:39PM +0200, Hans de Goede wrote: > 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. > >

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

2014-09-17 Thread Peter Hutterer
On Tue, Sep 16, 2014 at 04:22:36PM +0200, Hans de Goede wrote: > 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 + >

Re: [PATCH libinput 2/3] litest: Add litest_assert_scroll() helper function

2014-09-17 Thread Peter Hutterer
On Wed, Sep 17, 2014 at 03:35:31PM +0200, Hans de Goede wrote: > Make check_2fg_scroll functionality available outside of touchpad.c , > no functional changes. > > Signed-off-by: Hans de Goede > --- > test/litest.c | 39 +++ > test/litest.h | 1 + > test/

Re: [PATCH libinput 3/3] test: Add trackpoint middlebutton scrolling tests

2014-09-17 Thread Peter Hutterer
On Wed, Sep 17, 2014 at 03:35:32PM +0200, Hans de Goede wrote: > Signed-off-by: Hans de Goede > --- > test/Makefile.am | 5 +++ > test/litest-trackpoint.c | 2 +- > test/litest.h| 1 + > test/trackpoint.c| 100 > +++ >

Re: [PATCH libinput 1/3] touchpad: Enlarge topbutton area a bit while the touchpad is disabled

2014-09-17 Thread Peter Hutterer
On Wed, Sep 17, 2014 at 03:35:30PM +0200, Hans de Goede wrote: > Make it easier to hit the topbutton area when the touchpad is disabled, > normally we don't want to make the topbutton area too big, so as to not > interfere with normal touchpad operation, but when disabled we have no such > worries.

Re: [PATCH weston 1/3] Introduce pointer lock interface

2014-09-17 Thread Jonas Ådahl
On Wed, Sep 17, 2014 at 11:16:06PM +0300, Giulio Camuffo wrote: > 2014-09-17 23:11 GMT+03:00 Jonas Ådahl : > > On Wed, Sep 17, 2014 at 10:56:13PM +0300, Giulio Camuffo wrote: > >> I haven't looked at the implementation yet, just at the protocol, but > >> isn't _wl_pointer_lock.lock_pointer() return

Re: [PATCH weston 0/3] Pointer locking revisited

2014-09-17 Thread Jonas Ådahl
On Wed, Sep 17, 2014 at 09:55:36PM +0200, Axel Davy wrote: > On 17/09/2014 21:39, Jonas Ådahl wrote : > >Hi, > > > >This short series introduces a pointer lock interface based on the > >previous proposal[0] by Kristian Høgsberg from last year. The first patch > >adds a protocol more or less equal t

Re: [PATCH weston 1/3] Introduce pointer lock interface

2014-09-17 Thread Giulio Camuffo
2014-09-17 23:11 GMT+03:00 Jonas Ådahl : > On Wed, Sep 17, 2014 at 10:56:13PM +0300, Giulio Camuffo wrote: >> I haven't looked at the implementation yet, just at the protocol, but >> isn't _wl_pointer_lock.lock_pointer() returning a new wl_pointer a >> problem? Objects should have a unique factory

Re: [PATCH weston 1/3] Introduce pointer lock interface

2014-09-17 Thread Jonas Ådahl
On Wed, Sep 17, 2014 at 10:56:13PM +0300, Giulio Camuffo wrote: > I haven't looked at the implementation yet, just at the protocol, but > isn't _wl_pointer_lock.lock_pointer() returning a new wl_pointer a > problem? Objects should have a unique factory interface, or else the > version of the interf

Re: [PATCH weston 1/3] Introduce pointer lock interface

2014-09-17 Thread Giulio Camuffo
I haven't looked at the implementation yet, just at the protocol, but isn't _wl_pointer_lock.lock_pointer() returning a new wl_pointer a problem? Objects should have a unique factory interface, or else the version of the interface can't be determined. -- Giulio 2014-09-17 22:39 GMT+03:00 Jonas

Re: [PATCH weston 0/3] Pointer locking revisited

2014-09-17 Thread Axel Davy
On 17/09/2014 21:39, Jonas Ådahl wrote : Hi, This short series introduces a pointer lock interface based on the previous proposal[0] by Kristian Høgsberg from last year. The first patch adds a protocol more or less equal to Kristians proposal, but moved out of wl_seat into its own global object

[PATCH weston 3/3] resizor: Make resizor also use pointer locks for resizing

2014-09-17 Thread Jonas Ådahl
Signed-off-by: Jonas Ådahl --- clients/resizor.c | 62 +++ 1 file changed, 62 insertions(+) diff --git a/clients/resizor.c b/clients/resizor.c index 19c6eeb..66e1c2f 100644 --- a/clients/resizor.c +++ b/clients/resizor.c @@ -219,13 +219,70 @@ s

[PATCH weston 2/3] clients: Introduce pointer lock API to toytoolkit

2014-09-17 Thread Jonas Ådahl
Clients can lock the pointer surface wide, and receive relative pointer events while the pointer is locked. Signed-off-by: Jonas Ådahl --- Makefile.am | 4 +- clients/window.c | 177 +++ clients/window.h | 42 + 3 files chan

[PATCH weston 1/3] Introduce pointer lock interface

2014-09-17 Thread Jonas Ådahl
Introduce a pointer lock interface and implementation. The interface consists of a global currently called _wl_pointer_lock. It is prefixed with an underscore (_) in order to not conflict with a potential official protocol in Wayland, and if moving it there, the prefixed should be removed. The pro

[PATCH weston 0/3] Pointer locking revisited

2014-09-17 Thread Jonas Ådahl
Hi, This short series introduces a pointer lock interface based on the previous proposal[0] by Kristian Høgsberg from last year. The first patch adds a protocol more or less equal to Kristians proposal, but moved out of wl_seat into its own global object (currently _wl_pointer_lock), with some con

Client persistence across GPU hotexchange

2014-09-17 Thread Kosyrev Serge
Good day, folks! I'd like some light to be shed on the general area of GPU hotplug/hotremoval, and in particular, on how this is supposed to affect client persistence. What is the state of multi-card output? Is it possible to have drm_outputs replaced with (non-GL) clients surviving? A specific

[PATCH libinput 1/3] touchpad: Enlarge topbutton area a bit while the touchpad is disabled

2014-09-17 Thread Hans de Goede
Make it easier to hit the topbutton area when the touchpad is disabled, normally we don't want to make the topbutton area too big, so as to not interfere with normal touchpad operation, but when disabled we have no such worries. Signed-off-by: Hans de Goede --- src/evdev-mt-touchpad-buttons.c |

[PATCH libinput 2/3] litest: Add litest_assert_scroll() helper function

2014-09-17 Thread Hans de Goede
Make check_2fg_scroll functionality available outside of touchpad.c , no functional changes. Signed-off-by: Hans de Goede --- test/litest.c | 39 +++ test/litest.h | 1 + test/touchpad.c | 49 - 3 files chan

[PATCH libinput 3/3] test: Add trackpoint middlebutton scrolling tests

2014-09-17 Thread Hans de Goede
Signed-off-by: Hans de Goede --- test/Makefile.am | 5 +++ test/litest-trackpoint.c | 2 +- test/litest.h| 1 + test/trackpoint.c| 100 +++ 4 files changed, 107 insertions(+), 1 deletion(-) create mode 100644 test/trac

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

2014-09-17 Thread Pekka Paalanen
On Tue, 16 Sep 2014 19:13:15 +0200 Olivier Blin wrote: > 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

Re: Stabilizing wl_scaler protocol extension

2014-09-17 Thread Pekka Paalanen
On Tue, 16 Sep 2014 15:33:19 +0100 Steven Newbury wrote: > 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