Re: [PATCH:libxkbfile 1/4] unifdef -UXKB_IN_SERVER

2013-10-27 Thread Ran Benita
On Sat, Oct 26, 2013 at 02:09:59PM -0700, Alan Coopersmith wrote: Xserver has its own copy of this code now, so we don't need to keep an unused copy in libxkbfile too. Entire series looks good to me and server still compiles and goes through xkbcomp OK. You can go further with the first patch

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 exclusive

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 alan.coopersm...@oracle.com --- src/cout.c |4 +- src/maprules.c |8 +- src/xkbtext.c | 230 ++-- 3 files changed, 128 insertions(+), 114

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

2013-10-27 Thread Thomas Klausner
Replace SPACETAB with TAB. Remove whitespace at end-of-line. Signed-off-by: Thomas Klausner w...@netbsd.org --- 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 +++

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 connor.be...@gmail.com 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

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 SPACETAB with TAB. Remove whitespace at end-of-line. Signed-off-by: Thomas Klausner w...@netbsd.org Reviewed-by: Matthieu Herrb matth...@herrb.eu --- src/bsd_kbd.c | 18 +- 1 file changed, 9

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

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,

[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 === ---

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 with me,

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 SPACETAB with TAB. Remove whitespace at end-of-line. Signed-off-by: Thomas Klausner w...@netbsd.org b8f4e70..014101d master - master thanks. Cheers, Peter --- src/bsd_kbd.c | 18 +- 1 file

[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

[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

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