Re: [PATCH] Xi: fix logic error when calculating emulated motion events

2013-10-27 Thread Alan Coopersmith
On 10/27/13 07:14 PM, Peter Hutterer wrote: gcc -Wlogical-op exevents.c: In function 'DeliverEmulatedMotionEvent': exevents.c:1480:13: warning: logical 'or' of collectively exhaustive tests is always true [-Wlogical-op] The relevant snippet of exevents.c: 1479 if (ti->listeners[0].type

[PATCH] Xi: fix logic error when calculating emulated motion events

2013-10-27 Thread Peter Hutterer
gcc -Wlogical-op exevents.c: In function 'DeliverEmulatedMotionEvent': exevents.c:1480:13: warning: logical 'or' of collectively exhaustive tests is always true [-Wlogical-op] The relevant snippet of exevents.c: 1479 if (ti->listeners[0].type != LISTENER_POINTER_REGULAR || 1480

[PATCH synaptics] Reanimate dead trackpad area while gesturing

2013-10-27 Thread Daniel Colascione
This patch changes the interpretation of the "dead area" described by the AreaXXXEdge parameters. Now, instead of ignoring all events from these areas, we ignore only gesture initiations. That is, tapping on a dead area does nothing, but tapping somewhere else and moving the pressed finger into

Re: [PATCH:xf86-input-keyboard] Whitespace fixes.

2013-10-27 Thread Peter Hutterer
On Sun, Oct 27, 2013 at 01:53:34PM +0100, Thomas Klausner wrote: > Replace with . > Remove whitespace at end-of-line. > > Signed-off-by: Thomas Klausner b8f4e70..014101d master -> master thanks. Cheers, Peter > --- > src/bsd_kbd.c | 18 +- > 1 file changed, 9 insertio

Re: SIGUSR1 to xinit

2013-10-27 Thread Mouse
>> if (ParentProcess > 1) { >> kill(ParentProcess, SIGUSR1); >> } >> This means startup is slow (a timeout) if xinit happens to be pid 1. >> On linux, this is the case when xinit is launched into a new PID >> namespace. I don't know to what extent anyone else agrees

[PATCH synaptics] Prevent button mashing on clickpads

2013-10-27 Thread Daniel Colascione
The tiny patch below disables the clickpad hardware "button" when syndaemon has asked us to disable tapping. Without this patch, I frequently find myself accidentally clicking while typing. Index: src/synaptics.c === --- src/synap

Re: SIGUSR1 to xinit

2013-10-27 Thread Alan Coopersmith
On 10/25/13 08:05 AM, k...@hot.ee wrote: Hello, Apparently xserver does not signal the parent if ppid == 1. (Launch from init is assumed?) Excerpt from NotifyParentProcess() in ./os/connection.c: if (RunFromSmartParent) { if (ParentProcess > 1) { kill(ParentProcess,

Re: [PATCH:libxkbfile 3/4] Convert sprintf calls to snprintf

2013-10-27 Thread Alan Coopersmith
On 10/27/13 05:16 AM, walter harms wrote: If Xkb has asprint() it is possible to avoid all this strlen() stuff and use asprint(). Unfortunately it does not, and while I considered adding it, there weren't enough places where the strlen() is being used to allocate memory instead of putting into

Re: [PATCH:xf86-input-keyboard] Whitespace fixes.

2013-10-27 Thread Matthieu Herrb
On Sun, Oct 27, 2013 at 01:53:34PM +0100, Thomas Klausner wrote: > Replace with . > Remove whitespace at end-of-line. > > Signed-off-by: Thomas Klausner Reviewed-by: Matthieu Herrb > --- > src/bsd_kbd.c | 18 +- > 1 file changed, 9 insertions(+), 9 deletions(-) > > diff --git

Re: [PATCH r128] Do not use int10 or VBE on powerpc

2013-10-27 Thread Alex Deucher
On Fri, Oct 25, 2013 at 7:35 PM, Connor Behan wrote: > On 25/10/13 12:00 PM, lists.tor...@gmail.com wrote: >> VBE was already skipped in the normal path, but not when setting >> the PROBE_DETECT flag. >> >> Should avoid bus error seen in >> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=622606 a

[PATCH:xf86-input-keyboard] Whitespace fixes.

2013-10-27 Thread Thomas Klausner
Replace with . Remove whitespace at end-of-line. Signed-off-by: Thomas Klausner --- src/bsd_kbd.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/bsd_kbd.c b/src/bsd_kbd.c index 2eb7885..284833d 100644 --- a/src/bsd_kbd.c +++ b/src/bsd_kbd.c @@ -69,7 +

Re: [PATCH:libxkbfile 3/4] Convert sprintf calls to snprintf

2013-10-27 Thread walter harms
Am 26.10.2013 23:10, schrieb Alan Coopersmith: > Signed-off-by: Alan Coopersmith > --- > src/cout.c |4 +- > src/maprules.c |8 +- > src/xkbtext.c | 230 > ++-- > 3 files changed, 128 insertions(+), 114 deletions(-) > > diff --

Re: [PATCH:xf86-video-sis] Fix HDisplay/VDisplay typos

2013-10-27 Thread Gaetan Nadon
On 13-10-26 05:29 PM, Alan Coopersmith wrote: > Found by gcc -Wlogicalops: > > sis_driver.c: In function 'SiS_CheckModeCRT2': > sis_driver.c:13754:5: warning: logical 'and' of mutually exclusive tests is > always false [-Wlogical-op] > sis_driver.c:13755:6: warning: logical 'and' of mutually exclu