[PATCH libinput 0/4] Fix synaptics cursor jumps for triple-touches

2015-07-20 Thread Peter Hutterer
Synaptics touchpads internally detect 5 touches but we use the serial protocol in the kernel. That only allows for 2 slots so we get odd cursor jumps whenever a third finger is put on the touchpad. Those come in two varieties: 1) one slot ends when BTN_TOOL_TRIPLETAP is set and restarts as new tou

[PATCH libinput 2/4] Tag synaptics serial touchpads with a LIBINPUT_MODEL tag

2015-07-20 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- src/evdev.c| 1 + src/evdev.h| 1 + src/libinput-util.h| 2 ++ test/device.c | 23 +++ udev/90-libinput-model-quirks.hwdb | 6 ++ 5 files changed, 33

[PATCH libinput 4/4] touchpad: reset the motion history during/after a slots->nfake crossover

2015-07-20 Thread Peter Hutterer
Whenever we cross from N slots to at least one fake finger, reset the motion history and skip the next event too. Especially on serial Synaptics touchpads, the first touch update after a two-slot → TRIPLETAP is garbage, as is the one from TRIPLETAP → two slots. Example sequence reproduce on a T440

[PATCH libinput 3/4] touchpad: handle serial synaptics slot confusion on TRIPLETAP

2015-07-20 Thread Peter Hutterer
Synatics touchpads only have 2 slots, but support TRIPLETAP and above. When the third finger touches, the kernel may end the second slot and re-start it with the coordinates of the third touch in the next frame. The event sequence is something like: ABS_MT_SLOT 0 ABS_MT_POSITION_X4000

[PATCH libinput 1/4] evdev: allow for multiple LIBINPUT_MODEL_* flags per device

2015-07-20 Thread Peter Hutterer
On some devices we need to set more than one flag, i.e. make it into actual flags. Signed-off-by: Peter Hutterer --- src/evdev-mt-touchpad-buttons.c| 17 +++-- src/evdev-mt-touchpad.c| 12 src/evdev.c| 11 ++- s

[PATCH weston] desktop-shell: Put monitor to sleep when idle timer expires

2015-07-20 Thread Derek Foreman
Removing the screensaver had the accidental side effect of disabling DPMS display shut down. Signed-off-by: Derek Foreman --- desktop-shell/shell.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c index 0137ca3..9e3701f 100644 --- a/desktop-shel

Re: Wayland Relative Pointer API Progress

2015-07-20 Thread Bill Spitzak
On Sun, Jul 19, 2015 at 6:06 AM, x414e54 wrote: This seems to be getting WAY off course. My request is for "set_cursor_position_hint" to actually move the cursor, rather than forcing the client to make a fake cursor. It could very well move the cursor without syncing with the drawing. I screwed

[PATCH v2 libinput] code cleanup

2015-07-20 Thread Thomas Hindoe Paaboel Andersen
Removes some dead assignments, an unused function, and uses %d format specifier for int. Signed-off-by: Thomas Hindoe Paaboel Andersen --- Changes since v1: * pointer.c: Remove the second assignment instead of the first * Add signed-off-by src/evdev-mt-touchpad-buttons.c | 1 - test/gestures

[PATCH libinput] Code cleanup

2015-07-20 Thread Thomas Hindoe Paaboel Andersen
Removes some dead assignments, an unused function, and uses %d format specifier for int. --- src/evdev-mt-touchpad-buttons.c | 1 - test/gestures.c | 4 test/litest.c | 4 ++-- test/pointer.c | 2 +- tools/libinput-list-devices.c | 9 --

Re: [PATCH] cms-helper/static: Add "identity" builtin cms profile (v3)

2015-07-20 Thread Derek Foreman
On 18/07/15 01:10 AM, Mario Kleiner wrote: > Allows to force loading an identity gamma table if > option icc_profile= is given in weston.ini for > an output, ie., icc_profile= is specified to an > empty assignment. > > Some special display output devices, e.g., for > neuro-science applications, an

[PATCH 2/2] [rdp compositor] Fix crash when using RDP4 security

2015-07-20 Thread David FORT
The initialization of the freerdp_peer was done too early. This fixes https://bugs.freedesktop.org/show_bug.cgi?id=91390. --- src/compositor-rdp.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/compositor-rdp.c b/src/compositor-rdp.c index 70d290b..4ef0dd1 100644 ---

[PATCH 1/2] [rdp compositor] remove a warning during compilation

2015-07-20 Thread David FORT
backend_init now returns an int not a pointer. --- src/compositor-rdp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compositor-rdp.c b/src/compositor-rdp.c index 86c5b2a..70d290b 100644 --- a/src/compositor-rdp.c +++ b/src/compositor-rdp.c @@ -1270,7 +1270,7 @@ backend_

[PATCH 0/2] Misc fixes for the RDP compositor

2015-07-20 Thread David FORT
Misc things fixed in the RDP compositor: * bad return value in backend_init, introduced by the libweston refactoring; * an initialization that was done too early and was crashing when using RDP4 security David FORT (2): [rdp compositor] remove a warning during compilation [rdp compositor] Fix

Re: [PATCH weston] logind-util: Use %u for unsigned int in snprintf

2015-07-20 Thread Marek Chalupa
On Fri, Jul 17, 2015 at 2:06 PM, Pekka Paalanen wrote: > On Wed, 1 Jul 2015 12:29:00 +0200 > Marek Chalupa wrote: > > > sizeof operator returns size_t, which need not to be unsigned int, but > can > > be long (long) unsigned int. > > So here the correct fix should be either to use %zu (since C99

Re: Patchwork upgrade?

2015-07-20 Thread Daniel Stone
Hey Bryce, On 17 July 2015 at 21:19, Bryce Harrington wrote: > Could I bother you to request we update patchwork on fdo? > The latest version now displays counts of Acked/Reviewed/Tested which > would be quite handy in picking out patches to land as we start heading > towards the next alpha. > >

Re: [PATCH v2 libinput] code cleanup

2015-07-20 Thread Peter Hutterer
On Mon, Jul 20, 2015 at 03:27:09AM +0200, Thomas Hindoe Paaboel Andersen wrote: > Removes some dead assignments, an unused function, and > uses %d format specifier for int. > > Signed-off-by: Thomas Hindoe Paaboel Andersen > --- > Changes since v1: > * pointer.c: Remove the second assignment in