Re: [PATCH] kbproto: Fix typo in XkbSARedirectSetVMods

2015-03-10 Thread Peter Hutterer
On Tue, Mar 10, 2015 at 11:24:38AM +, Daniel Stone wrote: > Hi, > > On 9 March 2015 at 19:13, wrote: > > An apparent copy/paste bug in the macro XkbSARedirectSetVMods, which breaks > > using RedirectKey actions with virtual modifiers. > > > > Signed-off-by: Andreas Wettstein > > Reviewed-b

Re: Touchevent mapping to screen

2015-03-10 Thread Peter Hutterer
On Tue, Mar 10, 2015 at 03:15:44PM -0400, Amirhossein Simjour wrote: > Hi, > >I was working on a Linux system with two monitors attached to it, where > one of the monitors was a touchscreen. I had problem to find the exact > mapping between the touch events and the screens. > > I know that

[PATCH evdev 2/5] Split android axis simulation into a helper function

2015-03-10 Thread Peter Hutterer
No functional changes Signed-off-by: Peter Hutterer --- src/evdev.c | 69 ++--- 1 file changed, 43 insertions(+), 26 deletions(-) diff --git a/src/evdev.c b/src/evdev.c index af691f5..1b7b7fd 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -

[PATCH evdev 5/5] Disable axis faking and MT event processing on fake MT devices

2015-03-10 Thread Peter Hutterer
This effectively disables all axes >= ABS_MT_SLOT on those devices. But at least the device comes up without an error and it didn't work correctly beforehand anyway. https://bugs.freedesktop.org/show_bug.cgi?id=89473 Signed-off-by: Peter Hutterer --- src/evdev.c | 15 +++ src/evdev.

[PATCH evdev 4/5] Invert two conditions to reduce nesting

2015-03-10 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- src/evdev.c | 62 ++--- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/src/evdev.c b/src/evdev.c index dacd3e3..7ce7405 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -1180,22 +1180,22 @@ Evd

[PATCH evdev 3/5] Factor out MT axis counting into a separate function

2015-03-10 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- src/evdev.c | 65 +++-- 1 file changed, 37 insertions(+), 28 deletions(-) diff --git a/src/evdev.c b/src/evdev.c index 1b7b7fd..dacd3e3 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -1201,6 +1201,42 @@ Evde

[PATCH evdev 1/5] Require multitouch/smooth scrolling dependencies

2015-03-10 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- configure.ac | 12 ++-- src/evdev.c | 93 src/evdev.h | 16 --- 3 files changed, 2 insertions(+), 119 deletions(-) diff --git a/configure.ac b/configure.ac index 46f3dc7..e53177e 100644 -

Touchevent mapping to screen

2015-03-10 Thread Amirhossein Simjour
Hi, I was working on a Linux system with two monitors attached to it, where one of the monitors was a touchscreen. I had problem to find the exact mapping between the touch events and the screens. I know that I can set the mapping with xinput command, but I was wondering if there is any way

[RFC PATCH] gen_swap_check handles xproto and shape extensions

2015-03-10 Thread Asal Mirzaieva
>From 6f146415ee101d37d0127be91005ca37f6fbe928 Mon Sep 17 00:00:00 2001 From: Asal Mirzaeva Date: Tue, 10 Mar 2015 14:47:00 +0200 Subject: [PATCH] xorg-devel --- Makefile.am | 4 +- Xext/Makefile.am| 2 +- Xext/shape.c| 298 ++- configure.ac

Fwd: Re: [OPW] Generated swapping and size-checking code integration

2015-03-10 Thread Asal Mirzaieva
Good afternoon all, Yesterday was the last official day of my internship and I am here to report about work I've done and also to respond about fixes according to previous letter from Peter Hutterer. I worked and tested mainly on xproto and shape extensions, but almost all the extensions are

Re: [PATCH] kbproto: Fix typo in XkbSARedirectSetVMods

2015-03-10 Thread wettstae
> And it uses vmods1 in place of vmods_mask1 Where? But I think there is still a bug: High and low bytes for virtual modifiers and masks are swapped, compared to the XKB protocol specification (the protocol uses big endian, the macros use little endian). Is this worth fixing? Andreas __

Re: [PATCH] autogen.sh: use quoted string variables

2015-03-10 Thread Emil Velikov
Hi Peter, On 10 March 2015 at 05:34, Peter Hutterer wrote: > On Mon, Mar 09, 2015 at 12:00:52PM +, Emil Velikov wrote: >> Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent >> fall-outs, when they contain space. >> >> Signed-off-by: Emil Velikov > > Reviewed-by: Peter Hutt

Re: [PATCH] kbproto: Fix typo in XkbSARedirectSetVMods

2015-03-10 Thread walter harms
Am 09.03.2015 20:13, schrieb wetts...@gmail.com: > An apparent copy/paste bug in the macro XkbSARedirectSetVMods, which breaks > using RedirectKey actions with virtual modifiers. And it uses vmods1 in place of vmods_mask1 re, wh > > Signed-off-by: Andreas Wettstein > --- > XKBstr.h | 4 ++-

Re: [PATCH] kbproto: Fix typo in XkbSARedirectSetVMods

2015-03-10 Thread Daniel Stone
Hi, On 9 March 2015 at 19:13, wrote: > An apparent copy/paste bug in the macro XkbSARedirectSetVMods, which breaks > using RedirectKey actions with virtual modifiers. > > Signed-off-by: Andreas Wettstein Reviewed-by: Daniel Stone Cheers, Daniel ___