Re: [PATCH:xf86-input-mouse] Use asprintf (or Xprintf on old servers) instead of strdup+sprintf

2014-01-05 Thread Julien Cristau
On Sat, Jan 4, 2014 at 20:35:06 +0100, Patrik Jakobsson wrote: asprintf needs _GNU_SOURCE to be defined or you'll get an implicit declaration and build failure. I fixed it with: diff --git a/src/mouse.c b/src/mouse.c index 2da2b4d..6678d24 100644 --- a/src/mouse.c +++ b/src/mouse.c @@

Re: [PATCH:xf86-input-mouse] Use asprintf (or Xprintf on old servers) instead of strdup+sprintf

2014-01-05 Thread Patrik Jakobsson
On Sun, Jan 5, 2014 at 11:55 AM, Julien Cristau jcris...@debian.org wrote: On Sat, Jan 4, 2014 at 20:35:06 +0100, Patrik Jakobsson wrote: asprintf needs _GNU_SOURCE to be defined or you'll get an implicit declaration and build failure. I fixed it with: diff --git a/src/mouse.c

[PATCH:xf86-input-mouse] Add AC_SYSTEM_EXTENSIONS to expose asprintf

2014-01-05 Thread Patrik Jakobsson
As required by the following commit: commit 8c75f6e1c117f3d05f0bc7bed34f0e7e933f3b9a Use asprintf (or Xprintf on old servers) instead of strdup+sprintf Signed-off-by: Patrik Jakobsson patrik.r.jakobs...@gmail.com --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac

Re: [PATCH:xf86-input-mouse] Add AC_SYSTEM_EXTENSIONS to expose asprintf

2014-01-05 Thread Alan Coopersmith
On 01/ 5/14 09:57 AM, Patrik Jakobsson wrote: As required by the following commit: commit 8c75f6e1c117f3d05f0bc7bed34f0e7e933f3b9a Use asprintf (or Xprintf on old servers) instead of strdup+sprintf Signed-off-by: Patrik Jakobsson patrik.r.jakobs...@gmail.com Thanks - pushed to git master: To

Re: [PATCH:xf86-input-mouse] Use asprintf (or Xprintf on old servers) instead of strdup+sprintf

2014-01-05 Thread Patrik Jakobsson
On Sun, Jan 5, 2014 at 7:10 PM, Alan Coopersmith alan.coopersm...@oracle.com wrote: On 01/ 4/14 11:35 AM, Patrik Jakobsson wrote: asprintf needs _GNU_SOURCE to be defined or you'll get an implicit declaration and build failure. I fixed it with: Only on Linux, and you should be using

Re: [PATCH:xf86-input-mouse] Use asprintf (or Xprintf on old servers) instead of strdup+sprintf

2014-01-05 Thread Trevor Woerner
On 01/05/14 13:10, Alan Coopersmith wrote: On 01/ 4/14 11:35 AM, Patrik Jakobsson wrote: asprintf needs _GNU_SOURCE to be defined or you'll get an implicit declaration and build failure. I fixed it with: Only on Linux, and you should be using xf86-input-evdev there, not -mouse. Any idea

[PATCH:modular] build.sh: remove xf86-input-mouse from Linux

2014-01-05 Thread Trevor Woerner
Remove xf86-input-mouse from the list of modules to build for a Linux target since Linux uses xf86-input-evdev instead. Signed-off-by: Trevor Woerner trevor.woer...@linaro.org --- build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index

Re: [PATCH synaptics] Fix ABI detection for in-driver scaling

2014-01-05 Thread Peter Hutterer
On Fri, Jan 03, 2014 at 10:11:55AM +, Daniel Stone wrote: Hi, On 3 January 2014 01:30, Peter Hutterer peter.hutte...@who-t.net wrote: -#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) = 19 -#if GET_ABI_MINOR(ABI_XINPUT_VERSION) = 2 +#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) 19 +#define

security extension

2014-01-05 Thread Martin Uecker
Hi all, I wonder what it would take to make the security extension more useful again. A lot of people use X remotely with ssh which is unsafe without something like this. Openssh has convenient support to run clients as untrusted. Atleast for the programs I use remotely this works well.

Re: [PATCH:modular] build.sh: remove xf86-input-mouse from Linux

2014-01-05 Thread Gaetan Nadon
On 14-01-05 04:58 PM, Trevor Woerner wrote: Remove xf86-input-mouse from the list of modules to build for a Linux target since Linux uses xf86-input-evdev instead. Signed-off-by: Trevor Woerner trevor.woer...@linaro.org As long as it builds on Linux, it's fine. The primary reason for platform

Re: security extension

2014-01-05 Thread Mouse
[...the security extension...] A lot of people use X remotely with ssh which is unsafe without something like this. What's unsafe about that? I don't see anything offhand, but I haven't thought about it for long enough for that to mean much. /~\ The ASCII Mouse \

Re: [PATCH:xf86-input-mouse] Use asprintf (or Xprintf on old servers) instead of strdup+sprintf

2014-01-05 Thread Peter Hutterer
On Sun, Jan 05, 2014 at 04:26:19PM -0500, Trevor Woerner wrote: On 01/05/14 13:10, Alan Coopersmith wrote: On 01/ 4/14 11:35 AM, Patrik Jakobsson wrote: asprintf needs _GNU_SOURCE to be defined or you'll get an implicit declaration and build failure. I fixed it with: Only on Linux,

Re: x, y in struct _SynapticsSHM is ABS_X, ABS_Y, why not ABS_MT_POSITION_X, ABS_MT_POSITION_Y?

2014-01-05 Thread Peter Hutterer
On Sat, Jan 04, 2014 at 04:25:51PM +0800, Leslie Zhai wrote: Hi xorg developers, in xserver-xorg-input-synaptics-1.6.2/include/synaptics.h the struct _SynapticsSHM is shown as below: SHM has been completely removed in synaptics 1.7, it's largely a leftover from before device properties where

Re: [PATCH] If EAGAIN == EWOULDBLOCK, only need to check errno for one of them

2014-01-05 Thread Peter Hutterer
On Sat, Jan 04, 2014 at 12:09:45AM -0800, Alan Coopersmith wrote: Solaris sys/errno.h has: #define EWOULDBLOCK EAGAIN so checking (errno == EAGAIN || errno == EWOULDBLOCK) is overkill. This leads cppcheck 1.62 to complain: [xserver/os/io.c:365] - [xserver/os/io.c:365]: (style) Same

Re: [PATCH:xf86-input-mouse] Use asprintf (or Xprintf on old servers) instead of strdup+sprintf

2014-01-05 Thread Alan Coopersmith
On 01/ 5/14 10:32 AM, Patrik Jakobsson wrote: On Sun, Jan 5, 2014 at 7:10 PM, Alan Coopersmith alan.coopersm...@oracle.com wrote: On 01/ 4/14 11:35 AM, Patrik Jakobsson wrote: asprintf needs _GNU_SOURCE to be defined or you'll get an implicit declaration and build failure. I fixed it with:

Re: [PATCH:xf86-input-mouse] Use asprintf (or Xprintf on old servers) instead of strdup+sprintf

2014-01-05 Thread Alan Coopersmith
On 01/ 5/14 01:26 PM, Trevor Woerner wrote: On 01/05/14 13:10, Alan Coopersmith wrote: On 01/ 4/14 11:35 AM, Patrik Jakobsson wrote: asprintf needs _GNU_SOURCE to be defined or you'll get an implicit declaration and build failure. I fixed it with: Only on Linux, and you should be using

AIGLX error: drmOpenOnce failed (Operation not permitted)

2014-01-05 Thread Prathamesh P Ghanekar
Hi all, We are working on Freescale i.MX 6 board, trying to port TIZEN image to it. We are facing issues related to xorg server. The current xorg version in tizen is Xorg-13.0, whereas I learnt that xorg-11.0 is the latest version that is available for i.MX6. ☹!! Hence, I rolled back to

Re: [PATCH] Xi: Honor pointer-emulating touch when setting the button mask in XIQueryDevice

2014-01-05 Thread Peter Hutterer
On Fri, Jan 03, 2014 at 05:41:45PM +0100, Carlos Garnacho wrote: If a touch is currently active and emulating pointer events, XIQueryDevice must set the button 1 in the mask so pointer emulation is complete, as clients using XI2 would get inconsistent button states wrt events if querying