[PATCH (v5) xinput 1/1] Add experimental multitouch support from XI 2.1

2011-01-19 Thread Daniel Stone
From: Chase Douglas chase.doug...@canonical.com This patch adds experimental support for listening to touch streams (TouchBegin, TouchMotion, TouchMotionUnowned, TouchOwnership, and TouchEnd) with test-xi2, as well as showing TouchClass information with list. NOTE: This patch stlil contains

Re: [PATCH xf86-video-mach64] Remove libc wrappers for malloc, realloc and free.

2011-01-19 Thread Alex Deucher
On Wed, Jan 19, 2011 at 3:35 PM, Cyril Brulebois k...@debian.org wrote: Signed-off-by: Cyril Brulebois k...@debian.org Reviewed-by: Alex Deucher alexdeuc...@gmail.com ---  src/aticonfig.c      |    2 +-  src/aticonsole.c     |   10  src/atidga.c         |    2 +-  src/atidri.c    

Re: [PATCH 2/2] libXft: remove AC_PROG_CC as it overrides AC_PROG_C_C99

2011-01-19 Thread Gaetan Nadon
On Wed, 2011-01-19 at 13:53 -0800, Dan Nicholson wrote: On Wed, Jan 19, 2011 at 1:25 PM, Gaetan Nadon mems...@videotron.ca wrote: On Wed, 2011-01-19 at 12:51 -0800, Dan Nicholson wrote: This seems like more of a problem with the macros. I don't know why XORG_STRICT_OPTION doesn't just

[PATCH app-sessreg 1/1] config: use AC_CHECK_MEMBERS rather than AC_CHECK_MEMBER

2011-01-19 Thread Gaetan Nadon
Let Autoconf do the work of setting up the #define in config.h. Apply and comment standard sections layout. Signed-off-by: Gaetan Nadon mems...@videotron.ca --- configure.ac | 11 --- sessreg.c|2 +- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/configure.ac

Re: [PATCH 5/5] input: use a thread for the generation of input events

2011-01-19 Thread Daniel Stone
Hi, On Thu, Dec 16, 2010 at 03:31:40PM -0500, Adam Jackson wrote: If configured, and enabled at runtime, use a separate thread for handling input devices. Use pipes to communicate plug events from main thread to input thread, and to communicate event queue updates from input thread to main

Re: [PATCH] xkb: after making changes to the xkb ctrls, copy them back into kbdfeed.

2011-01-19 Thread Daniel Stone
Hi, On Thu, Jan 13, 2011 at 01:45:02PM +1000, Peter Hutterer wrote: enabled_ctrls_changes is nowhere near the usual event or config paths. So this condition always evaluated to false and the memcpy would thus never been hit. As a result, any modification to the XKB struct during

Re: [PATCH 1/2] mi: Call pScreen-ConstrainCursorHarder from the position update path

2011-01-19 Thread Daniel Stone
Hi, On Wed, Jan 19, 2011 at 12:58:40AM -0500, Adam Jackson wrote: Signed-off-by: Adam Jackson a...@redhat.com --- mi/mipointer.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/mi/mipointer.c b/mi/mipointer.c index 554397a..1f08133 100644 --- a/mi/mipointer.c

Re: [PATCH] dix: Simpler and faster XID hash

2011-01-19 Thread Keith Packard
On Wed, 19 Jan 2011 19:58:01 -0500, Adam Jackson a...@redhat.com wrote: -id = RESOURCE_ID_MASK; -switch (clientTable[client].hashsize) -{ - case 6: - return ((int)(0x03F (id ^ (id6) ^ (id12; - case 7: - return ((int)(0x07F (id ^ (id7) ^ (id13;

Re: [PATCH 1/2] mi: Call pScreen-ConstrainCursorHarder from the position update path

2011-01-19 Thread Adam Jackson
On Jan 19, 2011, at 9:27 PM, Daniel Stone wrote: On Wed, Jan 19, 2011 at 12:58:40AM -0500, Adam Jackson wrote: Signed-off-by: Adam Jackson a...@redhat.com --- mi/mipointer.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/mi/mipointer.c b/mi/mipointer.c index

Re: [PATCH 1/2] mi: Call pScreen-ConstrainCursorHarder from the position update path

2011-01-19 Thread Daniel Stone
On Wed, Jan 19, 2011 at 10:59:21PM -0500, Adam Jackson wrote: On Jan 19, 2011, at 9:27 PM, Daniel Stone wrote: On Wed, Jan 19, 2011 at 12:58:40AM -0500, Adam Jackson wrote: @@ -229,6 +229,10 @@ miPointerSetCursorPosition(DeviceIntPtr pDev, ScreenPtr pScreen, [...] This looks good to

[PATCH xserver] privates.h: remove return in function returning void

2011-01-19 Thread Roberto Branciforti
dixSetScreenPrivate and dixSetPrivate are function returning void. Signed-off-by: Roberto Branciforti rbb...@gmail.com --- include/privates.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/privates.h b/include/privates.h index 7ef2cb7..2b0040c 100644 ---

Re: [PATCH 3/3] exa/mixed: Exclude frontbuffer from deferred pixmap handling.

2011-01-19 Thread Michel Dänzer
On Die, 2011-01-18 at 23:59 +0100, Maarten Maathuis wrote: 2011/1/18 Maarten Maathuis madman2...@gmail.com: 2011/1/18 Maarten Maathuis madman2...@gmail.com: 2011/1/18 Michel Dänzer mic...@daenzer.net: On Mon, 2011-01-17 at 21:45 +0100, Maarten Maathuis wrote: 2010/12/20 Michel Dänzer

Re: [PATCH:setxkbmap] Fix crash when when -device is specified without argument

2011-01-19 Thread Dirk Wallenstein
On Tue, Jan 18, 2011 at 10:35:59PM -0800, Alan Coopersmith wrote: From: Stuart Kreitman stuart.kreit...@oracle.com http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6971649 Signed-off-by: Stuart Kreitman stuart.kreit...@oracle.com Signed-off-by: Alan Coopersmith

Re: [PATCH 3/3] exa/mixed: Exclude frontbuffer from deferred pixmap handling.

2011-01-19 Thread Maarten Maathuis
This is it, 10 ms a short time and even with this value large amounts of text are still not shown fluently (the impression that some pieces are never drawn). This is on top of the previous 3 patches. diff --git a/exa/exa_migration_mixed.c b/exa/exa_migration_mixed.c index 4f49905..c0c730d 100644

Re: [PATCH 3/3] exa/mixed: Exclude frontbuffer from deferred pixmap handling.

2011-01-19 Thread Michel Dänzer
On Mit, 2011-01-19 at 10:09 +0100, Maarten Maathuis wrote: This is it, 10 ms a short time and even with this value large amounts of text are still not shown fluently (the impression that some pieces are never drawn). This is on top of the previous 3 patches. diff --git

Re: [PATCH:setxkbmap] Fix crash when when -device is specified without argument

2011-01-19 Thread Daniel Stone
On Tue, Jan 18, 2011 at 10:35:59PM -0800, Alan Coopersmith wrote: From: Stuart Kreitman stuart.kreit...@oracle.com http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6971649 Signed-off-by: Stuart Kreitman stuart.kreit...@oracle.com Signed-off-by: Alan Coopersmith

Re: [PATCH xinput 0/3] Add different formats for --list option

2011-01-19 Thread Dirk Wallenstein
On Tue, Jan 18, 2011 at 01:08:57PM +1000, Peter Hutterer wrote: When using XI2, the output of xinput list shows the device hierarchy including attachment, device type and a few others. This is useful for humans but hard to parse for scripts who usually only care about a device name or about

Re: [PATCH] Add xorg.conf.d shadow man page pointing to xorg.conf man page

2011-01-19 Thread Dan Nicholson
On Tue, Jan 18, 2011 at 7:26 PM, Alan Coopersmith alan.coopersm...@oracle.com wrote: Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com Reviewed-by: Gaetan Nadon mems...@videotron.ca Tested-by: Gaetan Nadon mems...@videotron.ca Reviewed-by: Dan Nicholson dbn.li...@gmail.com

Re: [PATCH:libX11 2/3 v2] config: Use correct AC_CONFIG_HEADERS macro

2011-01-19 Thread Gaetan Nadon
On Tue, 2011-01-18 at 19:34 -0800, Alan Coopersmith wrote: Replaces obsolete AM_CONFIG_HEADER and undocumented AC_CONFIG_HEADER Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com --- Updated to use preferred macro as suggested by Gaetan configure.ac |3 +-- 1 files

[PULL] RANDR support for XWin DDX

2011-01-19 Thread Jon TURNEY
Hi Keith, The following set of patches adds some RANDR support to the XWin DDX, as well as various cleanups in the related area of the code. Please consider pulling into master. Thanks. The following changes since commit c6aa4755ec355101a62bef86dbb090262fe806f6: xkb/ddxLoad.c doesn't need

Re: [PATCH:libX11 2/3 v2] config: Use correct AC_CONFIG_HEADERS macro

2011-01-19 Thread Dan Nicholson
On Tue, Jan 18, 2011 at 7:34 PM, Alan Coopersmith alan.coopersm...@oracle.com wrote: Replaces obsolete AM_CONFIG_HEADER and undocumented AC_CONFIG_HEADER Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com --- Updated to use preferred macro as suggested by Gaetan  configure.ac |    

Re: [PATCH xserver 16/17] Input: Add initial multitouch support from Xi 2.1

2011-01-19 Thread Daniel Stone
Hi, On Fri, Jan 07, 2011 at 12:39:48PM -0500, Chase Douglas wrote: On 01/07/2011 10:57 AM, Daniel Stone wrote: On Thu, Jan 06, 2011 at 02:30:07PM -0500, Chase Douglas wrote: Maybe we should prohibit XIAllMasterDevices and any slave device selection at the same time, just as is done for

[PATCH] Fix compilation of xf86bigfont.c

2011-01-19 Thread Jon TURNEY
xf86bigfont.c: In function 'XFree86BigfontExtensionInit': xf86bigfont.c:146: error: 'ProcXF86BigfontDispatch' undeclared (first use in this function) xf86bigfont.c:147: error: 'SProcXF86BigfontDispatch' undeclared (first use in this function) It seems this has been broken since commit

Re: [PATCH] Fix compilation of xf86bigfont.c

2011-01-19 Thread Julien Cristau
On Wed, Jan 19, 2011 at 16:06:28 +, Jon TURNEY wrote: xf86bigfont.c: In function 'XFree86BigfontExtensionInit': xf86bigfont.c:146: error: 'ProcXF86BigfontDispatch' undeclared (first use in this function) xf86bigfont.c:147: error: 'SProcXF86BigfontDispatch' undeclared (first use in this

Re: [PATCH 3/3] exa/mixed: Exclude frontbuffer from deferred pixmap handling.

2011-01-19 Thread Maarten Maathuis
2011/1/19 Michel Dänzer mic...@daenzer.net: On Mit, 2011-01-19 at 10:09 +0100, Maarten Maathuis wrote: This is it, 10 ms a short time and even with this value large amounts of text are still not shown fluently (the impression that some pieces are never drawn). This is on top of the previous 3

Re: [PATCH 3/3] exa/mixed: Exclude frontbuffer from deferred pixmap handling.

2011-01-19 Thread Michel Dänzer
On Mit, 2011-01-19 at 18:29 +0100, Maarten Maathuis wrote: 2011/1/19 Michel Dänzer mic...@daenzer.net: On Mit, 2011-01-19 at 10:09 +0100, Maarten Maathuis wrote: This is it, 10 ms a short time and even with this value large amounts of text are still not shown fluently (the impression that

Re: [PATCH 3/3] exa/mixed: Exclude frontbuffer from deferred pixmap handling.

2011-01-19 Thread Maarten Maathuis
2011/1/19 Michel Dänzer mic...@daenzer.net: On Mit, 2011-01-19 at 18:29 +0100, Maarten Maathuis wrote: 2011/1/19 Michel Dänzer mic...@daenzer.net: On Mit, 2011-01-19 at 10:09 +0100, Maarten Maathuis wrote: This is it, 10 ms a short time and even with this value large amounts of text are

[PATCH 2/2] libXft: remove AC_PROG_CC as it overrides AC_PROG_C_C99

2011-01-19 Thread Roberto Branciforti
XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls AC_PROG_C_C99. This sets gcc with -std=gnu99. If AC_PROG_CC macro is called afterwards, it resets CC to gcc. Signed-off-by: Roberto Branciforti rbb...@gmail.com --- configure.ac |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff

[PATCH xf86-input-acecad] Fix type for default options.

2011-01-19 Thread Cyril Brulebois
InputDriverRec's default_options is char **, without const. Also, declare it static, it's not used outside this file. Fix build failure with CFLAGS=-Wall -Werror: | CC acecad.lo | cc1: warnings being treated as errors | acecad.c:132: error: initialization from incompatible pointer type

[PATCH xf86-video-mach64] Remove libc wrappers for malloc, realloc and free.

2011-01-19 Thread Cyril Brulebois
Signed-off-by: Cyril Brulebois k...@debian.org --- src/aticonfig.c |2 +- src/aticonsole.c | 10 src/atidga.c |2 +- src/atidri.c | 54 +- src/atii2c.c |8 +++--- src/atimach64exa.c |2

[PATCH xf86-input-acecad v2] Fix type for default options.

2011-01-19 Thread Cyril Brulebois
InputDriverRec's default_options is char **, without const. Fix build failure with CFLAGS=-Wall -Werror: | CC acecad.lo | cc1: warnings being treated as errors | acecad.c:132: error: initialization from incompatible pointer type Signed-off-by: Cyril Brulebois k...@debian.org ---

Re: [PATCH 2/2] libXft: remove AC_PROG_CC as it overrides AC_PROG_C_C99

2011-01-19 Thread Dan Nicholson
On Wed, Jan 19, 2011 at 11:53 AM, Roberto Branciforti rbb...@gmail.com wrote: XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls AC_PROG_C_C99. This sets gcc with -std=gnu99. If AC_PROG_CC macro is called afterwards, it resets CC to gcc. Signed-off-by: Roberto Branciforti rbb...@gmail.com

Re: [PATCH 2/2] libXft: remove AC_PROG_CC as it overrides AC_PROG_C_C99

2011-01-19 Thread Gaetan Nadon
On Wed, 2011-01-19 at 12:51 -0800, Dan Nicholson wrote: This seems like more of a problem with the macros. I don't know why XORG_STRICT_OPTION doesn't just AC_REQUIRE AC_PROG_CC so that we don't get these kinds of issues. I have not found a way to avoid these issues. The last call wins. If

Re: [PATCH 2/2] libXft: remove AC_PROG_CC as it overrides AC_PROG_C_C99

2011-01-19 Thread Gaetan Nadon
On Wed, 2011-01-19 at 20:53 +0100, Roberto Branciforti wrote: XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls AC_PROG_C_C99. This sets gcc with -std=gnu99. If AC_PROG_CC macro is called afterwards, it resets CC to gcc. Signed-off-by: Roberto Branciforti rbb...@gmail.com ---

Re: [PATCH 2/2] libXft: remove AC_PROG_CC as it overrides AC_PROG_C_C99

2011-01-19 Thread Alan Coopersmith
On 01/19/11 11:53 AM, Roberto Branciforti wrote: XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls AC_PROG_C_C99. This sets gcc with -std=gnu99. If AC_PROG_CC macro is called afterwards, it resets CC to gcc. Signed-off-by: Roberto Branciforti rbb...@gmail.com --- configure.ac |2 +-

Re: [PATCH xinput 0/3] Add different formats for --list option

2011-01-19 Thread Peter Hutterer
On Wed, Jan 19, 2011 at 11:50:54AM +0100, Dirk Wallenstein wrote: On Tue, Jan 18, 2011 at 01:08:57PM +1000, Peter Hutterer wrote: When using XI2, the output of xinput list shows the device hierarchy including attachment, device type and a few others. This is useful for humans but hard to

Re: [PATCH inputproto] Add touch classes and events, bump to 2.1

2011-01-19 Thread Peter Hutterer
On Fri, Jan 07, 2011 at 04:02:09PM +, Daniel Stone wrote: +∙ Driver DRV provides touch support from tracked device D: +⊳ DRV initializes a TouchClass for the device and a TouchAxisClass for + each axis available on the device. +⊳ DRV parses D's device protocol and

Re: [PATCH 2/2] libXft: remove AC_PROG_CC as it overrides AC_PROG_C_C99

2011-01-19 Thread Dan Nicholson
On Wed, Jan 19, 2011 at 1:25 PM, Gaetan Nadon mems...@videotron.ca wrote: On Wed, 2011-01-19 at 12:51 -0800, Dan Nicholson wrote: This seems like more of a problem with the macros. I don't know why XORG_STRICT_OPTION doesn't just AC_REQUIRE AC_PROG_CC so that we don't get these kinds of

Re: [PATCH 2/2] libXft: remove AC_PROG_CC as it overrides AC_PROG_C_C99

2011-01-19 Thread Thomas Dickey
On Wed, 19 Jan 2011, Dan Nicholson wrote: We want to try to ensure that we get C99 if XORG_STRICT_OPTION is used. So, if we AC_REQUIRE([AC_PROG_CC]) before AC_REQUIRE([AC_PROG_CC_C99]) in XORG_STRICT_OPTION, then it should ensure the ordering, right? Or can you just keep calling them and the

[PATCH libXaw] Scrollbar.c: Add Btn4 Btn5 to default translations

2011-01-19 Thread Roberto Branciforti
Add default translations to handle mouse wheel events for moving the scrollbar. Signed-off-by: Roberto Branciforti rbb...@gmail.com --- src/Scrollbar.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/Scrollbar.c b/src/Scrollbar.c index 894a945..5e4fdcf 100644 ---

Re: [PATCH 2/2] libXft: remove AC_PROG_CC as it overrides AC_PROG_C_C99

2011-01-19 Thread Roberto Branciforti
On Wednesday 19 January 2011 22:33:35 Gaetan Nadon wrote: On Wed, 2011-01-19 at 20:53 +0100, Roberto Branciforti wrote: XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls AC_PROG_C_C99. This sets gcc with -std=gnu99. If AC_PROG_CC macro is called afterwards, it resets CC to gcc.

[PATCH v3 1/6] xf86/xv: Remove copy paste code.

2011-01-19 Thread Pauli
From: Pauli Nieminen ext-pauli.niemi...@nokia.com xf86XVFillKeyHelperDrawable can be used to implement xf86XVFillKeyHelper. V2: * Remove RegionTranslate that clobbered parameter region. Signed-off-by: Pauli Nieminen ext-pauli.niemi...@nokia.com --- hw/xfree86/common/xf86xv.c | 68

[PATCH v3 2/6] xf86/xv: Remove unused GC pointers

2011-01-19 Thread Pauli
From: Pauli Nieminen ext-pauli.niemi...@nokia.com Signed-off-by: Pauli Nieminen ext-pauli.niemi...@nokia.com --- hw/xfree86/common/xf86xv.c | 10 -- hw/xfree86/common/xf86xvpriv.h |2 -- 2 files changed, 0 insertions(+), 12 deletions(-) diff --git a/hw/xfree86/common/xf86xv.c

[PATCH v3 3/6] xf86/xv: Remove unused variable from XvPortRecPrivate

2011-01-19 Thread Pauli
From: Pauli Nieminen ext-pauli.niemi...@nokia.com Signed-off-by: Pauli Nieminen ext-pauli.niemi...@nokia.com --- hw/xfree86/common/xf86xvpriv.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/hw/xfree86/common/xf86xvpriv.h b/hw/xfree86/common/xf86xvpriv.h index

[PATCH v3 4/6] xf86/xv: Fill color key on expose

2011-01-19 Thread Pauli
From: Pauli Nieminen ext-pauli.niemi...@nokia.com If window gets exposed but clipboxes doesn't change drivers would avoid color key fill. This makes XResizeWindoco to lose colorkey if background is painted. To help drivers to avoid filling colorkey for each put server can provide helper function

[PATCH v3 5/6] xf86/xv: Use PostValidateTree to do reput

2011-01-19 Thread Pauli
From: Pauli Nieminen ext-pauli.niemi...@nokia.com ValidateTree calls first ClipNotify and later might call WindowExposures. To avoid useless double reput ClipNotify delays reput to WindowExposures or PostValidateTree. PostValidatTree checks all ports if there is clip changes. On clip changes

[PATCH v3 6/6] xf86/xv: Only register PostValidateTree hook when there is work to do

2011-01-19 Thread Pauli
From: Pauli Nieminen ext-pauli.niemi...@nokia.com If none of Xv ports were affected by window tree modifications we don't want scan the port list. To avoid useless scanning of port list PostValidateTree hook is only registered when ClipNotify was called for any port. Signed-off-by: Pauli

Re: [PATCH inputproto] Add touch classes and events, bump to 2.1

2011-01-19 Thread Daniel Stone
On Thu, Jan 20, 2011 at 07:52:54AM +1000, Peter Hutterer wrote: On Fri, Jan 07, 2011 at 04:02:09PM +, Daniel Stone wrote: I was under the impression that the driver would be handling pointer events and touch events separately. This wording sounds like the server handles pointer

[PATCH (v5) 0/15] Multitouch take five

2011-01-19 Thread Daniel Stone
Hi all, Another round of multitouch patches ... this lot addresses all the review comments from the previous patchset, and seems to work quite reliably and consistently for me. It's a fairly large change, but the code is now a fair bit easier to understand and verify. After discussion with

[PATCH (v5) inputproto 1/1] Add touch classes and events, bump to 2.1

2011-01-19 Thread Daniel Stone
Introduce multitouch support through a new TouchClass, as well as new TouchBegin, TouchEnd and TouchMotion events. Bump to version 2.1. Signed-off-by: Daniel Stone dan...@fooishbar.org Co-authored-by: Chase Douglas chase.doug...@canonical.com Co-authored-by: Peter Hutterer

[PATCH (v5) libXi 1/1] Add multitouch support from Xi 2.1

2011-01-19 Thread Daniel Stone
Add support to libXi for touch events. Signed-off-by: Daniel Stone dan...@fooishbar.org Co-authored-by: Chase Douglas chase.doug...@canonical.com --- v5: Added support for new TouchMotionUnowned and TouchOwnership events. Fix a CopyCookie buglet where touch events wouldn't get copied at all.

[PATCH (v5) xserver 1/8] Input: Add DeepestSpriteWin macro

2011-01-19 Thread Daniel Stone
Does what it says on the box: returns the deepest child window in a given sprite's trace. Signed-off-by: Daniel Stone dan...@fooishbar.org --- v5: New. dix/events.c |4 ++-- include/inputstr.h |3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/dix/events.c

[PATCH (v5) xserver 5/8] Input: Reorder AxisInfo elements

2011-01-19 Thread Daniel Stone
From: Chase Douglas chase.doug...@canonical.com Reorder elements so they can be uniform with the upcoming TouchAxisInfo elements required for coordinate scaling. Signed-off-by: Chase Douglas chase.doug...@canonical.com Reviewed-by: Daniel Stone dan...@fooishbar.org Reviewed-by: Peter Hutterer

[PATCH (v5) xserver 2/8] Input: Make CheckPassiveGrabsOnWindow take InternalEvent

2011-01-19 Thread Daniel Stone
Previously, it only took DeviceEvents, but it would be much more useful if it took InternalEvents. Any event that activates a grab must still be a DeviceEvent, so put in a check to enforce this. Also fix a tiny (but harmless) buglet where we would allocate too much space for the frozen event.

[PATCH (v5) xserver 6/8] Input: Add flags to DeviceEvent

2011-01-19 Thread Daniel Stone
Add a flags member which will be copied wholesale into the resultant xXIDeviceEvent. Signed-off-by: Daniel Stone dan...@fooishbar.org Reviewed-by: Peter Hutterer peter.hutte...@who-t.net Reviewed-by: Chase Douglas chase.doug...@canonical.com --- v5: No changes. dix/eventconvert.c |1 +

[PATCH (v5) xserver 4/8] Input: Bump input major ABI for multitouch

2011-01-19 Thread Daniel Stone
Signed-off-by: Daniel Stone dan...@fooishbar.org Reviewed-by: Peter Hutterer peter.hutte...@who-t.net Reviewed-by: Chase Douglas chase.doug...@canonical.com --- v5: No changes. hw/xfree86/common/xf86Module.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH 8/8] Test: Input: Add touch tests

2011-01-19 Thread Daniel Stone
Add tests for: * checking basic functionality of BeginTouchPoint, FindTouchPoint*, and EndTouchPoint * ensuring all touch event types match each other in GrabMatchesSecond * ensuring all touch events are selected together, or not at all, in XISelectEvents (this test

[PATCH (v5) xserver 3/8] Input: Simply CheckPassiveGrabsOnWindow loop

2011-01-19 Thread Daniel Stone
Instead of a mega never-ending if branch with no else, just continue to the next iteration of the loop if the conditions aren't met - pretty much entirely reindentation. Signed-off-by: Daniel Stone dan...@fooishbar.org --- v5: New. dix/events.c | 209

[PATCH (v5) evdev 4/4] Ensure touchpad events are always processed with MT

2011-01-19 Thread Daniel Stone
From: Chase Douglas chase.doug...@canonical.com Without this change, an MT touchpad in relative mode could end a touch while not resetting the oldMask used to calculate relative values. This fix allows a Magic Trackpad to behave as a relative mode device again. Signed-off-by: Chase Douglas

[PATCH (v5) evdev 3/4] Use MTDev for multitouch devices

2011-01-19 Thread Daniel Stone
From: Chase Douglas chase.doug...@canonical.com MTDev translates all multitouch devices to the slotted evdev protocol. This provides a clean and uniform interface and reduces message handling inside the input module and X. Signed-off-by: Chase Douglas chase.doug...@canonical.com --- v5: No

[PATCH (v5) evdev 1/4] Add support for masked valuators

2011-01-19 Thread Daniel Stone
From: Chase Douglas chase.doug...@canonical.com With the X server now supporting masked valuators for XI2, enable support in X evdev. This kills backwards compatibility with X Input ABI 12 Signed-off-by: Chase Douglas chase.doug...@canonical.com --- v5: No changes other than fixing conflicts.

[PATCH (v5) evdev 2/4] Add experimental XI 2.1 multitouch support

2011-01-19 Thread Daniel Stone
From: Chase Douglas chase.doug...@canonical.com This multitouch addition only supports slotted MT evdev protocol devices. Support must be enabled at configure time using --enable-multitouch. Signed-off-by: Chase Douglas chase.doug...@canonical.com --- v5: Fixed merge conflicts. Updated to