Re: [PATCH wayland-web] extras: list three Wayland protocol dumping tools

2014-09-18 Thread Puustinen, Ismo
Hi Pekka, Thank you, and I also got an ack in IRC from Tomek. Looks like I pushed and published this with the 1.5.93 release announcement, which I didn't mean to do without Ismo's ack. Sorry, hope I didn't cause any grief. Anyway, you're all now listed at:

weston-launch can not be started up in user mode

2014-09-18 Thread Yang Andy
Hi everyone I want to start up weston-launch at console terminal in user mode. It failed to start up weston-launch and echo error info below. But when i change user mode to root mode,it can start up weston-launch correctly. Could anyone give some hint on how to solve this issue?

Re: Client persistence across GPU hotexchange

2014-09-18 Thread Pekka Paalanen
On Wed, 17 Sep 2014 21:11:53 +0400 Kosyrev Serge _deepf...@feelingofgreen.ru wrote: 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

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

2014-09-18 Thread Hans de Goede
Hi, On 09/18/2014 03:49 AM, Peter Hutterer wrote: 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 hdego...@redhat.com

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

2014-09-18 Thread Hans de Goede
Hi, On 09/18/2014 03:27 AM, Peter Hutterer wrote: On Wed, Sep 17, 2014 at 03:35:32PM +0200, Hans de Goede wrote: Signed-off-by: Hans de Goede hdego...@redhat.com --- test/Makefile.am | 5 +++ test/litest-trackpoint.c | 2 +- test/litest.h| 1 + test/trackpoint.c

Re: weston-launch can not be started up in user mode

2014-09-18 Thread Pekka Paalanen
On Thu, 18 Sep 2014 07:43:56 + Yang Andy williamyan...@hotmail.com wrote: Hi everyone I want to start up weston-launch at console terminal in user mode. It failed to start up weston-launch and echo error info below. But when i change user mode to root mode,it can start up

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

2014-09-18 Thread Hans de Goede
Hi, On 09/18/2014 05:17 AM, Peter Hutterer wrote: From: Hans de Goede hdego...@redhat.com 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

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

2014-09-18 Thread Hans de Goede
Hi, On 09/18/2014 03:09 AM, Peter Hutterer wrote: 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

RE: weston-launch can not be started up in user mode

2014-09-18 Thread Yang Andy
Hi Pekka There is no fbGetDisplay in the Weston sources and has never been. Where is that coming from? I use vivante-gpu for hardware accelerate. I got software patch from vivante graphics stack. Now it can work well in root mode,but can not work in user mode. Best regards Andy Date: Thu,

[PATCH libinput v2] test: Add trackpoint middlebutton scrolling tests

2014-09-18 Thread Hans de Goede
Signed-off-by: Hans de Goede hdego...@redhat.com -- Changes in v2: Use 1 as delta for threshold test, add a no movement test --- test/Makefile.am | 5 +++ test/litest-trackpoint.c | 2 +- test/litest.h| 1 + test/trackpoint.c| 103

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

2014-09-18 Thread Pekka Paalanen
On Wed, 17 Sep 2014 22:35:40 +0200 Jonas Ådahl jad...@gmail.com wrote: On Wed, Sep 17, 2014 at 11:16:06PM +0300, Giulio Camuffo wrote: 2014-09-17 23:11 GMT+03:00 Jonas Ådahl jad...@gmail.com: On Wed, Sep 17, 2014 at 10:56:13PM +0300, Giulio Camuffo wrote: I haven't looked at the

Re: Stabilizing wl_scaler protocol extension

2014-09-18 Thread Steven Newbury
On Wed, 2014-09-17 at 10:06 +0300, Pekka Paalanen wrote: On Tue, 16 Sep 2014 15:33:19 +0100 Steven Newbury st...@snewbury.org.uk 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:

Re: weston-launch can not be started up in user mode

2014-09-18 Thread Pekka Paalanen
On Thu, 18 Sep 2014 09:04:14 + Yang Andy williamyan...@hotmail.com wrote: Hi Pekka There is no fbGetDisplay in the Weston sources and has never been. Where is that coming from? I use vivante-gpu for hardware accelerate. I got software patch from vivante graphics stack. Now it

[PATCH libinput 2/3] core: Move libinput_event definition to libinput-private.h

2014-09-18 Thread Hans de Goede
Signed-off-by: Hans de Goede hdego...@redhat.com --- src/libinput-private.h | 5 + src/libinput.c | 5 - 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/libinput-private.h b/src/libinput-private.h index 94d6580..3b46c27 100644 --- a/src/libinput-private.h +++

[PATCH libinput 3/3] touchpad: Disable touchpads on trackpoint activity

2014-09-18 Thread Hans de Goede
Some laptops with both a clickpad and a trackpoint have such a large touchpad, that parts of the users hands will touch the pad when using the trackpoint. Examples of this are the Lenovo T440s and the Toshiba Tecra Z40-A. This commit makes libinput automatically disable the touchpad while using

[PATCH libinput 1/3] core: Add internal event notification mechanism

2014-09-18 Thread Hans de Goede
For features like e.g. disable-touchpad-while-typing, it is necessary for one device to be able to listen into another device's events. It is tempting to use the existing device_added / device_removed mechanism to give e.g. the keyboard a link to the touchpad, and make the keyboard code disable /

Re: [PATCH libinput 0/7] Handle jumping cursors

2014-09-18 Thread Hans de Goede
Hi, On 09/18/2014 06:20 AM, Peter Hutterer wrote: 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

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

2014-09-18 Thread Pekka Paalanen
On Wed, 17 Sep 2014 21:39:51 +0200 Jonas Ådahl jad...@gmail.com wrote: 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

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

2014-09-18 Thread Daniel Stone
Hi, On 18 September 2014 07:54, Pekka Paalanen ppaala...@gmail.com wrote: From: Pekka Paalanen pekka.paala...@collabora.co.uk Good plan, thanks. Pushed! Cheers, Daniel ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org

[PATCH 2/2] cosmetic: Move WL_EXPORT out of header files

2014-09-18 Thread Derek Foreman
Most of the code only puts WL_EXPORT in .c files. Remove the few instances in header files. If it's missing form the associated .c, put it there instead. --- src/compositor.h | 6 +++--- src/filter.c | 4 ++-- src/filter.h | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff

[PATCH 1/2] cosmetic: Remove prototype for nonexistent function

2014-09-18 Thread Derek Foreman
--- src/filter.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/filter.h b/src/filter.h index dad538b..34d0f81 100644 --- a/src/filter.h +++ b/src/filter.h @@ -52,9 +52,6 @@ struct weston_motion_filter { struct weston_motion_filter_interface *interface; }; -WL_EXPORT struct

[PATCH libinput] cosmetic: Remove prototype for nonexistent create_linear_acceleration_filter()

2014-09-18 Thread Derek Foreman
--- src/filter.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/filter.h b/src/filter.h index 31ac7eb..8553495 100644 --- a/src/filter.h +++ b/src/filter.h @@ -52,9 +52,6 @@ struct motion_filter { struct motion_filter_interface *interface; }; -struct motion_filter *

[PATCH libinput 3/3] test: add tests for natural scrolling

2014-09-18 Thread Peter Hutterer
2-finger scrolling only, we don't have anything else yet Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- test/touchpad.c | 49 + 1 file changed, 49 insertions(+) diff --git a/test/touchpad.c b/test/touchpad.c index 7ff3d14..2c2504f

[PATCH libinput 1/3] Add a configuration option for natural scrolling

2014-09-18 Thread Peter Hutterer
Natural scrolling is simply inverted scrolling, but I decided to use the Apple terminology simply because it's easier to google for. Add the usual quartett of config options for has/set/get/get_default/, as a boolean option rather than an enum for scroll mode to avoid name collusion with the

[PATCH libinput 2/3] touchpad: hook up natural scrolling configuration

2014-09-18 Thread Peter Hutterer
Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- src/evdev-mt-touchpad.c | 64 + src/evdev-mt-touchpad.h | 5 2 files changed, 69 insertions(+) diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c index 70a4e40..299f29f

Re: [PATCH libinput] cosmetic: Remove prototype for nonexistent create_linear_acceleration_filter()

2014-09-18 Thread Peter Hutterer
On Thu, Sep 18, 2014 at 05:02:39PM -0500, Derek Foreman wrote: --- src/filter.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/filter.h b/src/filter.h index 31ac7eb..8553495 100644 --- a/src/filter.h +++ b/src/filter.h @@ -52,9 +52,6 @@ struct motion_filter { struct

[PATCH libinput 05/10] filter: adjust acceleration curve depending on speed

2014-09-18 Thread Peter Hutterer
The acceleration curve consists of four parts, in ascii-art like this: _ / / / / where the x axis is the speed, y is the acceleration factor. The first plateau is at the acceleration factor 1 (i.e. unaccelerated movement), the second plateau is at the max

[PATCH libinput 06/10] Add a pointer acceleration API

2014-09-18 Thread Peter Hutterer
Only exposes one knob - speed, normalized to a [-1, 1] range with 0 being the neutral this is what we think is normal speed. -1 and 1 reflect the slowest/fastest reasonable speed on this device. Note: with this API we commit to having any pointer accelerating as a true gliding scale. We cannot

[PATCH libinput 07/10] evdev: hook into pointer acceleration config interface

2014-09-18 Thread Peter Hutterer
Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- src/evdev.c | 39 +++ src/evdev.h | 1 + 2 files changed, 40 insertions(+) diff --git a/src/evdev.c b/src/evdev.c index de7ee16..eb570e2 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -861,6 +861,39 @@

[PATCH libinput 08/10] touchpad: hook up pointer acceleration configuration

2014-09-18 Thread Peter Hutterer
Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- src/evdev-mt-touchpad.c | 45 + 1 file changed, 45 insertions(+) diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c index 0b51809..5637774 100644 --- a/src/evdev-mt-touchpad.c +++

[PATCH libinput 09/10] tools: keep a list of devices around for run-time changes

2014-09-18 Thread Peter Hutterer
Hard-coded to 50 devices, because for a debugging tool that's plenty. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- tools/event-gui.c | 36 1 file changed, 36 insertions(+) diff --git a/tools/event-gui.c b/tools/event-gui.c index

[PATCH libinput 03/10] filter: move the threshold/accel into the filter struct

2014-09-18 Thread Peter Hutterer
No functional changes, prep work for the config interface. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- src/filter.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/filter.c b/src/filter.c index 12bf8f6..5e627e1 100644 --- a/src/filter.c +++

[PATCH libinput 02/10] filter: add a filter-private.h header file

2014-09-18 Thread Peter Hutterer
To keep the implementation of a filter separate from the users of a filter. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- src/Makefile.am | 1 + src/filter-private.h | 42 ++ src/filter.c | 1 + src/filter.h | 12

[PATCH libinput 04/10] filter: add a configurable speed interface

2014-09-18 Thread Peter Hutterer
Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- src/filter-private.h | 3 +++ src/filter.c | 28 +++- src/filter.h | 7 +++ 3 files changed, 37 insertions(+), 1 deletion(-) diff --git a/src/filter-private.h b/src/filter-private.h index

[PATCH libinput 10/10] tools: map KEY_UP/DOWN to pointer acceleration

2014-09-18 Thread Peter Hutterer
Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- tools/event-gui.c | 52 +++- 1 file changed, 51 insertions(+), 1 deletion(-) diff --git a/tools/event-gui.c b/tools/event-gui.c index fcae236..142990d 100644 --- a/tools/event-gui.c +++