Re: [PATCH] If using a clickpad, filter out all left-click events where there's no finger on the trackpad or it's a light touch

2012-11-13 Thread Aaron Westendorf
"Bending" and "flex" are simply the best description I have; the Series 9 is unibody and flex is practically non-existent. For all I know, it's a voltage potential as a result of movement of my hand along any part of the chassis. There is no single way to cause the kernel to send spurious clicks. T

Re: [PATCH] If using a clickpad, filter out all left-click events where there's no finger on the trackpad or it's a light touch

2012-11-13 Thread Chase Douglas
On Fri, Nov 9, 2012 at 11:43 AM, Aaron Westendorf wrote: > --- > src/eventcomm.c | 20 +++- > 1 file changed, 19 insertions(+), 1 deletion(-) > > diff --git a/src/eventcomm.c b/src/eventcomm.c > index b1d5460..09e8a50 100644 > --- a/src/eventcomm.c > +++ b/src/eventcomm.c > @@ -

[PATCH] dri2: Don't short-circuit to blitting for vblank_mode=0.

2012-11-13 Thread Eric Anholt
When someone asks for no vblank syncing, they're also going for high performance, which forcing a blit is not. Leave this up to the driver's normal SwapBuffers path, which can choose something appropriate to do based off of the target/divisor/remainder. Note that this currently reduces performanc

[PATCH 6/6] hw/xwin: Fix for MinGW-w64 DirectDraw headers

2012-11-13 Thread Jon TURNEY
From: Yaakov Selkowitz mingw-w64 headers handle NONAMELESSUNION earlier than mingw.org's, so it must be defined before including any headers. It also provides a ddraw.h, so use it. Signed-off-by: Yaakov Selkowitz Reviewed-by: Jon TURNEY --- hw/xwin/ddraw.h |4 hw/xwin/win.h |2

[PATCH 5/6] dix/dispatch.c, os/utils.c: Disable smart scheduler on WIN32

2012-11-13 Thread Jon TURNEY
setitimer() and SIGALRM aren't available on WIN32, so smart scheduler code cannot be built. Provide only stubs for smart scheduler timer code, and disable smart scheduler by default. Signed-off-by: Ryan Pavlik Reviewed-by: Jon TURNEY Tested-by: Yaakov Selkowitz --- dix/dispatch.c |4

[PATCH 4/6] os/osinit.c: no getpgrp() and setpgrp() on WIN32

2012-11-13 Thread Jon TURNEY
From: Ryan Pavlik Signed-off-by: Ryan Pavlik Reviewed-by: Jon TURNEY Tested-by: Yaakov Selkowitz --- os/osinit.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/os/osinit.c b/os/osinit.c index 2a946a4..6c66f9c 100644 --- a/os/osinit.c +++ b/os/osinit.c @@ -246,8 +246

[PATCH 3/6] hw/xwin: use raise instead of signal

2012-11-13 Thread Jon TURNEY
From: Yaakov Selkowitz MinGW doesn't have signal(), so use raise() instead Signed-off-by: Yaakov Selkowitz Reviewed-by: Jon TURNEY --- hw/xwin/winclipboardthread.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/hw/xwin/winclipboardthread.c b/hw/xwin/winclipboardthr

[PATCH 2/6] os/utils.c: Fix compilation of OsBlockSIGIO when SIGIO isn't defined

2012-11-13 Thread Jon TURNEY
Fix compilation of OsBlockSIGIO with -Werror=return-type when SIGIO isn't defined. /jhbuild/checkout/xorg/xserver/os/utils.c: In function 'OsBlockSIGIO': /jhbuild/checkout/xorg/xserver/os/utils.c:1248:1: error: control reaches end of non-void function [-Wreturn-type] Signed-off-by: Jon TURNEY T

[PATCH 1/6] os/osinit.c, os/utils.c: Exclude sigaction code when building for MinGW

2012-11-13 Thread Jon TURNEY
From: Ryan Pavlik MinGW doesn't have sigaction, so this patch is needed for building. No attempt is made to actually install the fatal error signal handler, as MinGW will simply terminate the process rather than deliver a fatal signal. Also avoid using strsignal Signed-off-by: Ryan Pavlik Rev

[PATCH 0/6] Xserver build fixes for Windows MinGW target.

2012-11-13 Thread Jon TURNEY
Hopefully, the last set of Xserver build fixes for Windows MinGW target. (More fixes are needed for XWin to work usefully, but one thing at a time...) Jon TURNEY (2): os/utils.c: Fix compilation of OsBlockSIGIO when SIGIO isn't defined dix/dispatch.c, os/utils.c: Disable smart scheduler on WIN