[PATCH xf86-input-synaptics 7/8] On button down update cumulative to current x and y, instead of previous

2014-02-21 Thread Hans de Goede
When a button click and new coordinates get reported in one go we sync the cumulative coordinates to the old x and y, rather then the newly reported ones. This keeping of the old coordinates causes the following issue: -touch the touchpad in its right click area -let go of the touchpad -rapidly

[PATCH xf86-input-synaptics 6/8] Ignore motion the first X ms after a clickpad click

2014-02-21 Thread Hans de Goede
This fixes my #1 anoyance with clickpads, where 2 out of 3 clicks turn into a click + drag unless I hold my finger really really still. Signed-off-by: Hans de Goede hdego...@redhat.com --- include/synaptics-properties.h | 2 ++ man/synaptics.man | 10 ++ src/properties.c

[PATCH xf86-input-synaptics 4/8] Get rid of old_hw_state

2014-02-21 Thread Hans de Goede
We only use it to store button state which we already have in priv-lastButtons. While at it also properly indent the code block checking the various soft button areas. Signed-off-by: Hans de Goede hdego...@redhat.com --- src/synaptics.c| 58

[PATCH xf86-input-synaptics 5/8] Don't report motion inside soft-button areas

2014-02-21 Thread Hans de Goede
Unless the motion has started outside the soft-button area. Note that we must start reporting motions regardless of whether we think we're in the button area or not as soon as we've switched to using cumulative coordinates, since then the coordinates are no longer absolute. This fixes the

[PATCH xf86-input-synaptics 0/8] Various clickpad improvements

2014-02-21 Thread Hans de Goede
Hi Peter, Benjamin et al, The following patchset is the result of me playing with the clickpad on the T440s and trying to make using it a more pleasant experience Patch 1: Add another third state to TouchpadOff for disabling all but button clicks Is from bugzilla, I've added this as one of my

[PATCH xf86-input-synaptics 1/8] Add another third state to TouchpadOff for disabling all but button clicks

2014-02-21 Thread Hans de Goede
From: Peter Hutterer peter.hutte...@who-t.net On a new set of laptops like the Lenovo T440 the trackstick does not have physical buttons. Instead, the touchpad's top edge is supposed to acts software button area. To avoid spurious cursor jumps when the trackstick is in use and the finger is

[PATCH xf86-input-synaptics 8/8] Wait for *new* coordinates on a clickpad click before reporting the click

2014-02-21 Thread Hans de Goede
It is possible for a click to get reported before any related touch events get reported, here is the relevant part of an evemu-record session on a T440s: E: 3.985585 # SYN_REPORT (0) -- E: 3.997419 0003 0039 -001 # EV_ABS / ABS_MT_TRACKING_ID -1 E:

[PATCH xf86-input-synaptics 3/8] Add an enum for the different soft_button_areas

2014-02-21 Thread Hans de Goede
While at it also move the enum for the soft button edges out of is_inside_button_area() so that it can be used elsewhere too. Signed-off-by: Hans de Goede hdego...@redhat.com --- src/synaptics.c | 35 ++- 1 file changed, 22 insertions(+), 13 deletions(-) diff

[PATCH xf86-input-synaptics 2/8] Add secondary (top) software buttons area

2014-02-21 Thread Hans de Goede
From: Benjamin Tissoires benjamin.tissoi...@redhat.com New generation of laptops with trackstick do not have physical buttons associated with the trackstick, but instead rely on software buttons at the top of the clickpad. Adding a secondary software button area for this purpose. As we're likely

Re: [PATCH v2 00/14] Use systemd-logind to manage /dev/... nodes for us

2014-02-21 Thread Hans de Goede
Hi, On 02/18/2014 11:37 PM, Dave Airlie wrote: Thanks for the review! I'm not systemd-logind aware enough to know about the rest yet, Well we already have a number of flags from video drivers probing, like the needs hw one etc, do you need to have a separate capabilities field in the

Re: Incorrect conditional testing in servermd.h related to linux/arm

2014-02-21 Thread Gaetan Nadon
On 14-02-20 10:33 AM, Arnaud Fontaine wrote: while compiling mesa on Linux/ARM (and for Linux/ARM), I had a problem with the servermd.h file coming from xorg-server. I found incorrect conditional tests on linux variable while it should be on __linux__ variable. This mistake occurs at several

Re: [PATCH] Add devd config backend for FreeBSD (and GNU/kFreeBSD)

2014-02-21 Thread Robert Millan
Anyone who could commit this for me? On 16/02/2014 12:17, Robert Millan wrote: On 16/02/2014 05:10, Alexander E. Patrakov wrote: Robert Millan r...@debian.org mailto:r...@debian.org wrote: (a patch) The patch uses the pointer type, which is on its way out. Please replace with void *.

Re: [PATCH REVISED] xkb: Support NoLock and NoUnlock for LockControls

2014-02-21 Thread Ran Benita
On Thu, Feb 20, 2014 at 08:38:14PM +0100, Andreas Wettstein wrote: The XKB protocol specification demands support for these flags. Signed-off-by: Andreas Wettstein wettstein...@solnet.ch --- xkb/xkbActions.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git