[PATCH] Feature: synaptic three-finger swipe action

2014-03-09 Thread Arkq
When touchpad can report more then 2 active fingers, we can generate action based on swipe gesture. It includes upward, downward, to the left and to the right swipes. To all of those gestures can be assigned one button event. By default (internal driver default) swipes are disabled (assigned

Re: [PATCH RFC 0/1] Xorg: Add a suid root wrapper

2014-03-09 Thread Mark Kettenis
Date: Thu, 06 Mar 2014 13:51:45 +0100 From: Hans de Goede hdego...@redhat.com Hi Mark, On 03/06/2014 01:23 PM, Mark Kettenis wrote: snip Oh dear, the wrapper script is back! Before you go further down this road, may I point out the privilege seperation support that we've had

Re: [PATCH RFC] Xorg: Add a suid root wrapper

2014-03-09 Thread Mark Kettenis
Date: Thu, 06 Mar 2014 13:57:32 +0100 From: Hans de Goede hdego...@redhat.com +for (i = 0; i 16; i++) { +snprintf(buf, PATH_MAX, /dev/dri/card%d, i); Hardcoding paths like this is a bad idea. We use /dev/drm%d on OpenBSD for example. Other systems might use different

[PATCH] xserver: fix build since system-logind.h

2014-03-09 Thread Dave Airlie
on tinderbox and irc Reviewed-by: Hans de Goede hdego...@redhat.com Reviewed-by: Matthieu Herrb matth...@herrb.eu Reviewed-by: Alan Coopersmith alan.coopersm...@oracle.com Signed-off-by: Dave Airlie airl...@redhat.com --- include/systemd-logind.h | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH synaptics] Add property support for secondary (top) software buttons

2014-03-09 Thread Peter Hutterer
This was originally intended as a xorg.conf option only (and still largely is seen as such). Secondary software button are required only on a specific series of touchpads and should be pre-configured by the system and/or the distribution. As such, the property will only be initialized and respond

Re: [PATCH] xserver: fix build since system-logind.h

2014-03-09 Thread Keith Packard
Dave Airlie airl...@gmail.com writes: on tinderbox and irc Reviewed-by: Hans de Goede hdego...@redhat.com Reviewed-by: Matthieu Herrb matth...@herrb.eu Reviewed-by: Alan Coopersmith alan.coopersm...@oracle.com Signed-off-by: Dave Airlie airl...@redhat.com Merged. 1c61d38..b972851

[PATCH v2 synaptics] synaptics: Add support for server managed fds

2014-03-09 Thread Hans de Goede
Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- Give this one a test please, seems to work on first glance. Changes to v1: - use helper function for closing the fd, avoids forgetting the flag check - Optimise DeviceOn to have a single