Re: [PATCH libinput v3 02/17] touchpad: after a click, lock the finger to its current position

2014-05-22 Thread Peter Hutterer
On Tue, May 20, 2014 at 04:34:50PM +0200, Hans de Goede wrote: From: Peter Hutterer peter.hutte...@who-t.net On clickpads, clicking the pad usually causes some motion events. To avoid erroneous movements, lock the finger into position on the click and don't allow for motion events until we

Re: [PATCH wayland-web] Added depencies and bug fixes to build instructions

2014-05-22 Thread Pekka Paalanen
On Thu, 22 May 2014 08:24:04 +1000 Peter Hutterer peter.hutte...@who-t.net wrote: And that becomes a pretty generic guide on How to build software, so if there is a site which already explains all these basics, we can link to it, but I don't think we should write that guide on the Wayland

Re: [PATCH wayland-web] Added depencies and bug fixes to build instructions

2014-05-22 Thread Pekka Paalanen
On Thu, 22 May 2014 00:18:23 +0200 Thierry Reding thierry.red...@gmail.com wrote: On Wed, May 21, 2014 at 12:30:18PM +0300, Pekka Paalanen wrote: On Tue, 20 May 2014 13:12:32 -0700 Bill Spitzak spit...@gmail.com wrote: [...] I have to tell you that such one-line-at-a-time cut paste is

Re: [PATCH libinput 2/2] touchpad: Make pointer movements a bit faster by default

2014-05-22 Thread Peter Hutterer
On Tue, May 20, 2014 at 11:19:50PM +0200, Jonas Ådahl wrote: Alter the so far hard coded parameters a bit to make the pointer acceleration profile accelerate the pointer movement a bit more than before. This is much better on both the x220 and the t440s. The only problem I see is that on the

[ANNOUNCE] libinput 0.2

2014-05-22 Thread Jonas Ådahl
A new release of libinput, 0.2, is available. The most significant change since 0.1 is the introduction of the new multi touch touchpad driver by Peter Hutterer, replacing the old one from weston. While there are improvements already in the queue, please test and file bugs you find. Other than

Re: [PATCH wayland-web] Added depencies and bug fixes to build instructions

2014-05-22 Thread Pekka Paalanen
On Wed, 21 May 2014 12:17:29 -0700 Bill Spitzak spit...@gmail.com wrote: On 05/21/2014 02:30 AM, Pekka Paalanen wrote: Yeah, nowadays Weston can work with a released version of xkbcommon, so we could remove the git-clone part, and have a link to its home page. Collecting links to

Re: [PATCH wayland-web] Added depencies and bug fixes to build instructions

2014-05-22 Thread Thierry Reding
On Thu, May 22, 2014 at 09:25:40AM +0300, Pekka Paalanen wrote: On Thu, 22 May 2014 00:18:23 +0200 Thierry Reding thierry.red...@gmail.com wrote: On Wed, May 21, 2014 at 12:30:18PM +0300, Pekka Paalanen wrote: On Tue, 20 May 2014 13:12:32 -0700 Bill Spitzak spit...@gmail.com wrote:

Re: [PATCH wayland-web] Added depencies and bug fixes to build instructions

2014-05-22 Thread Peter Hutterer
On Thu, May 22, 2014 at 09:14:30AM +0200, Thierry Reding wrote: On Thu, May 22, 2014 at 09:25:40AM +0300, Pekka Paalanen wrote: On Thu, 22 May 2014 00:18:23 +0200 Thierry Reding thierry.red...@gmail.com wrote: On Wed, May 21, 2014 at 12:30:18PM +0300, Pekka Paalanen wrote: On Tue,

Re: [PATCH libinput v3 02/17] touchpad: after a click, lock the finger to its current position

2014-05-22 Thread Hans de Goede
Hi, On 05/22/2014 08:05 AM, Peter Hutterer wrote: On Tue, May 20, 2014 at 04:34:50PM +0200, Hans de Goede wrote: From: Peter Hutterer peter.hutte...@who-t.net On clickpads, clicking the pad usually causes some motion events. To avoid erroneous movements, lock the finger into position on the

Re: [PATCH libinput v3 09/17] touchpad: Rework is_pointer handling

2014-05-22 Thread Hans de Goede
On 05/22/2014 05:35 AM, Peter Hutterer wrote: On Tue, May 20, 2014 at 04:34:57PM +0200, Hans de Goede wrote: We don't want touches in the button area to cause the pointer to move. So instead of making a touch the pointer when it moves to TOUCH_BEGIN, wait with making it the pointer until its

Re: [PATCH libinput v3 11/17] touchpad: Ignore non left clicks on clickpads

2014-05-22 Thread Hans de Goede
Hi, On 05/22/2014 03:45 AM, Peter Hutterer wrote: On Tue, May 20, 2014 at 04:34:59PM +0200, Hans de Goede wrote: We should never get any non left button events on clickpads, but if we do these might confuse our state, so complain about it and ignore these. Signed-off-by: Hans de Goede

[PULL] libinput clickpad improvements

2014-05-22 Thread Hans de Goede
Hi Peter, Please pull from my personal libinput git repo for the libinput clickpad improvements we've been working on: The following changes since commit 40bae41159d9694c4089aedc58e2abd261f8106f: configure.ac: libinput 0.2 (2014-05-22 08:10:42 +0200) are available in the git repository at:

Re: [PATCH libinput 0/24] Tablet support

2014-05-22 Thread Bill Spitzak
- One device has 2 strips, which report on ABS_RX/RY (radial??). Min/max are 0..4096, but the reported values are 1,2,4,8,16... So effectively a log2 scale, or more graphically a bit shifting over a bunch of 0s, which is somewhat more resembling to the physical action on the

Re: [PATCH wayland-web] Added depencies and bug fixes to build instructions

2014-05-22 Thread Bill Spitzak
On 05/21/2014 03:24 PM, Peter Hutterer wrote: On Tue, May 20, 2014 at 07:58:59AM -0400, Jasper St. Pierre wrote: Fedora has this built-in: # yum install 'pkgconfig(laalaa.pc)' And that becomes a pretty generic guide on How to build software, so if there is a site which already explains all

Re: [PATCH wayland-web] Added depencies and bug fixes to build instructions

2014-05-22 Thread Jasper St. Pierre
It's # yum install 'pkgconfig(foo)'; not # yum install 'pkg-config(foo)' The inconsistent hyphenation is annoying. On Thu, May 22, 2014 at 6:15 AM, Peter Hutterer peter.hutte...@who-t.netwrote: On Thu, May 22, 2014 at 09:14:30AM +0200, Thierry Reding wrote: On Thu, May 22, 2014 at

Re: [PATCH wayland-web] Added depencies and bug fixes to build instructions

2014-05-22 Thread Bill Spitzak
On 05/22/2014 12:01 AM, Pekka Paalanen wrote: It looks about right to me. Mesa should stay, because quite probably many distributions do not yet enable Wayland support in it, and we might still get development there. Xserver needs to stay, because 1.16 has not been released yet, it receives

Re: [PATCH libinput 0/24] Tablet support

2014-05-22 Thread Jason Gerecke
On Thu, May 22, 2014 at 8:45 AM, Bill Spitzak spit...@gmail.com wrote: - One device has 2 strips, which report on ABS_RX/RY (radial??). Min/max are 0..4096, but the reported values are 1,2,4,8,16... So effectively a log2 scale, or more graphically a bit shifting over a bunch of

Re: [PATCH wayland-web] Added depencies and bug fixes to build instructions

2014-05-22 Thread Bill Spitzak
I started out using a script somebody wrote to build on Debian. But I had to edit it considerably as dependencies changed and eventually I reverted to pretty much cut paste of the configure lines. It also installed about 100 packages, many of which were not needed (either unused or because I

Re: [PATCH wayland-web] Added depencies and bug fixes to build instructions

2014-05-22 Thread Bill Spitzak
On 05/21/2014 03:09 PM, Thierry Reding wrote: On Wed, May 21, 2014 at 02:54:36PM -0700, Bill Spitzak wrote: On 05/21/2014 02:16 PM, Thierry Reding wrote: While I agree with the other points, I think it's perfectly consistent for --version to output the version of pkg-config itself. There's

Re: [PATCH libinput 0/24] Tablet support

2014-05-22 Thread Jason Gerecke
On Wed, May 21, 2014 at 10:17 PM, Chandler Paul thatsly...@gmail.com wrote: Hi! Sorry this took so long to write, I've been spending a lot of my time recently trying to understand the libinput code and all of that good stuff, and I wanted to make sure I had a decent understanding of it before

Re: [PATCH libinput 0/24] Tablet support

2014-05-22 Thread Chandler Paul
On Thu, 2014-05-22 at 11:17 -0700, Jason Gerecke wrote: On Wed, May 21, 2014 at 10:17 PM, Chandler Paul thatsly...@gmail.com wrote: Hi! Sorry this took so long to write, I've been spending a lot of my time recently trying to understand the libinput code and all of that good stuff, and I

[PATCH weston 5/5] desktop-shell: make background applications less dark

2014-05-22 Thread Jonny Lamb
--- desktop-shell/shell.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c index 51683ee..a5886d7 100644 --- a/desktop-shell/shell.c +++ b/desktop-shell/shell.c @@ -911,21 +911,21 @@ animate_focus_change(struct desktop_shell

[PATCH weston 0/5] desktop-shell tweaks for maynard shell

2014-05-22 Thread Jonny Lamb
These patches were written in the development of the Maynard desktop shell client for the Raspberry Pi: https://github.com/raspberrypi/maynard They're quite simple and deal with: 1. fixing weston_move_scale_run() after it was broken a while ago, 2. putting the panel somewhere other than

[PATCH weston 1/5] animation: fix move scale animation

2014-05-22 Thread Jonny Lamb
Both weston_move_scale_run() and weston_slide_run() were broken in commit 3a869019. Commit a4a6f161 fixed and explained the problem for weston_slide_run() but weston_move_scale_run() remained broken. To fix weston_move_scale_run(), weston_view_animation_run() is also required. It was removed when

[PATCH weston 3/5] desktop-shell: use panel location to calculate correct sizes and ranges

2014-05-22 Thread Jonny Lamb
Now the client can let us know where the panel is using desktop_shell.set_panel_position, we can correctly calculate where to put new views and how big maximized views should be. --- desktop-shell/shell.c | 229 ++ 1 file changed, 173 insertions(+),

[PATCH weston 4/5] animation: ensure repaints are always scheduled during animations

2014-05-22 Thread Jonny Lamb
Animations are run off the repaint cycle so if there's nothing to repaint, an animation will stop running. This is usually not a problem as each frame function of an animation causes something to change and therefore a repaint to happen. This patch helps detect when the animation isn't in said

[PATCH weston 2/5] desktop-shell: add set_panel_position to help place views onscreen

2014-05-22 Thread Jonny Lamb
Panels are always assumed to be on the top edge of the output. If this is not the case views will be placed under the panel, wherever it is, and maximize doesn't use the correct space allocated for views. By telling the server on which edge the panel is located, it can correctly calculate where

Re: [PATCH wayland-web] Added depencies and bug fixes to build instructions

2014-05-22 Thread Peter Hutterer
On Thu, May 22, 2014 at 09:35:23AM -0700, Bill Spitzak wrote: On 05/21/2014 03:09 PM, Thierry Reding wrote: On Wed, May 21, 2014 at 02:54:36PM -0700, Bill Spitzak wrote: On 05/21/2014 02:16 PM, Thierry Reding wrote: While I agree with the other points, I think it's perfectly consistent for

Re: [PULL] libinput clickpad improvements

2014-05-22 Thread Peter Hutterer
On Thu, May 22, 2014 at 03:22:47PM +0200, Hans de Goede wrote: Hi Peter, Please pull from my personal libinput git repo for the libinput clickpad improvements we've been working on: The following changes since commit 40bae41159d9694c4089aedc58e2abd261f8106f: configure.ac: libinput 0.2

Re: [PATCH libinput 0/24] Tablet support

2014-05-22 Thread Carlos Garnacho
Hi, First of all, I'm sorry I dropped the ball this long. It's great to see you've been doing some progress. On jue, 2014-05-22 at 01:17 -0400, Chandler Paul wrote: Hi! Sorry this took so long to write, I've been spending a lot of my time recently trying to understand the libinput code and all

Re: [PATCH libinput 0/24] Tablet support

2014-05-22 Thread Carlos Garnacho
Hey Jason, On jue, 2014-05-22 at 11:17 -0700, Jason Gerecke wrote: On Wed, May 21, 2014 at 10:17 PM, Chandler Paul thatsly...@gmail.com wrote: Hi! Sorry this took so long to write, I've been spending a lot of my time recently trying to understand the libinput code and all of that good

Re: [PATCH libinput 0/24] Tablet support

2014-05-22 Thread Carlos Garnacho
Hi Ping! On lun, 2014-04-21 at 18:03 -0700, Ping Cheng wrote: Benjamin is right. Those are absolute values. Most Linux applications do not use those extra values. But, there are in-house applications need those values. I'll have to ask around to give you some use cases if you are interested.

Re: [PATCH libinput 0/24] Tablet support

2014-05-22 Thread Benjamin Tissoires
On Thu, May 22, 2014 at 1:17 AM, Chandler Paul thatsly...@gmail.com wrote: Hi! Sorry this took so long to write, I've been spending a lot of my time recently trying to understand the libinput code and all of that good stuff, and I wanted to make sure I had a decent understanding of it before I

Re: [PATCH libinput 0/24] Tablet support

2014-05-22 Thread Ping Cheng
On Wed, May 21, 2014 at 10:17 PM, Chandler Paul thatsly...@gmail.com wrote: Hi! Sorry this took so long to write, I've been spending a lot of my time recently trying to understand the libinput code and all of that good stuff, and I wanted to make sure I had a decent understanding of it before

Re: [PATCH libinput 0/24] Tablet support

2014-05-22 Thread Ping Cheng
On Thu, May 22, 2014 at 4:55 PM, Carlos Garnacho carl...@gnome.org wrote: Hi Ping! On lun, 2014-04-21 at 18:03 -0700, Ping Cheng wrote: Benjamin is right. Those are absolute values. Most Linux applications do not use those extra values. But, there are in-house applications need those values.

[PATCH libinput 3/4] test: disable CK_FORK for the valgrind runs

2014-05-22 Thread Peter Hutterer
I'm not sure what exactly is happening here, but while valgrind seems to run fine in normal mode, the build from make distcheck fails with rather random errors. Disabling CK_FORK seems to help, but more investigation is needed. Meanwhile, this makes distcheck succeed again. Signed-off-by: Peter

[PATCH libinput 2/4] test: restore log priority after each test

2014-05-22 Thread Peter Hutterer
Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- test/log.c | 12 1 file changed, 12 insertions(+) diff --git a/test/log.c b/test/log.c index 0c5508f..b8cc767 100644 --- a/test/log.c +++ b/test/log.c @@ -74,6 +74,7 @@ END_TEST START_TEST(log_handler_invoked) {

[PATCH libinput 4/4] Replace log_bug with per-component bug macros

2014-05-22 Thread Peter Hutterer
When we knowingly hit a bug, we should know what the bug is caused by. Log that in a standardized fashion. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- src/evdev-mt-touchpad-buttons.c | 8 src/evdev.c | 8 src/libinput-private.h | 4

[PATCH] protocol: remove redundant 'the' in description

2014-05-22 Thread Silvan Jegen
Signed-off-by: Silvan Jegen s.je...@gmail.com --- protocol/wayland.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/protocol/wayland.xml b/protocol/wayland.xml index 22eb6e7..113c7b7 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -550,8 +550,8 @@