[RFC][PATCH v3 resourceproto 0/1] Protocol description of X Resource Extension version 1.2.

2010-11-17 Thread Rami Ylimäki
v1: Initial documentation of changes from version 1.1 to 1.2. v2: Version 1.2 takes resource cross references into account. v3: Version 1.1 has been reverse engineered from code to the document. Rami Ylimäki (1): Protocol description of X Resource Extension version 1.2. RESproto.txt | 452

Re: [PATCH] xfree86: Fix rotation of 2-color non-interleaved cursor images

2010-11-17 Thread Cyril Brulebois
Cyril Brulebois k...@debian.org (17/11/2010): Aaron Plattner aplatt...@nvidia.com (16/11/2010): Could somebody with hardware that sets SOURCE_MASK_INTERLEAVE (e.g. Intel) please give this patch a try and verify that it doesn't break rotated cursors? Sounds OK here. For those wondering:

Re: [PATCH] fix xserver segfaulting in glxext.c:DrawableGone() (NULL pointer)

2010-11-17 Thread Julien Cristau
On Wed, Nov 17, 2010 at 07:53:30 +0100, Thierry Vignaud wrote: Hi I've attached a patch[1] against bug #31538 [2] that fix xserver segfaulting in glxext.c:DrawableGone() on NULL pointer. See stack trace there[3]. It's against xserver-1.7. xserver-1.9 doesn't trigger it anymore but I

Re: [PATCH] fix xserver segfaulting in glxext.c:DrawableGone() (NULL pointer)

2010-11-17 Thread Thierry Vignaud
On 17 November 2010 13:57, Julien Cristau jcris...@debian.org wrote: I've attached a patch[1] against bug #31538 [2] that fix xserver segfaulting in glxext.c:DrawableGone() on NULL pointer. See stack trace there[3]. It's against xserver-1.7. xserver-1.9 doesn't trigger it anymore but I

Re: [RFC XI 2.1 - xinput 2/3] Zero out entire mask when selecting for raw events

2010-11-17 Thread Chase Douglas
On 11/17/2010 12:24 AM, Peter Hutterer wrote: On Fri, Nov 12, 2010 at 05:35:16PM -0500, Chase Douglas wrote: From: Chase Douglas chase.doug...@ubuntu.com Signed-off-by: Chase Douglas chase.doug...@canonical.com --- src/test_xi2.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-)

[RFC XI 2.1 - xinput 2/3 v2] Zero out entire mask when selecting for different events

2010-11-17 Thread Chase Douglas
Signed-off-by: Chase Douglas chase.doug...@canonical.com --- src/test_xi2.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test_xi2.c b/src/test_xi2.c index fea36a8..5b56397 100644 --- a/src/test_xi2.c +++ b/src/test_xi2.c @@ -324,7 +324,7 @@ test_xi2(Display

Re: [RFC XI 2.1 - xserver 7/9] Reorder AxisInfo elements

2010-11-17 Thread Chase Douglas
On 11/17/2010 01:11 AM, Peter Hutterer wrote: On Fri, Nov 12, 2010 at 05:35:08PM -0500, Chase Douglas wrote: From: Chase Douglas chase.doug...@ubuntu.com Reorder elements so they can be uniform with the upcoming TouchAxisInfo elements required for coordinate scaling. Signed-off-by: Chase

Re: How to get a list of windows and process mapping

2010-11-17 Thread Trevor Woerner
On Tue, Nov 16, 2010 at 3:44 PM, Adam Majer ad...@zombino.com wrote: Is there a method of getting a list of all the windows on a given display or screen? Is there a method of mapping these Windows to host/pid? Maybe having a look at xwininfo (and its sources) will help get you started? $

Re: [RFC XI 2.1 - inputproto] Add touch classes and events, bump to 2.1

2010-11-17 Thread Chase Douglas
On 11/17/2010 01:25 AM, Peter Hutterer wrote: On Fri, Nov 12, 2010 at 05:35:01PM -0500, Chase Douglas wrote: diff --git a/XI2.h b/XI2.h index 6ba1377..f3ee7f0 100644 --- a/XI2.h +++ b/XI2.h @@ -32,10 +32,12 @@ #define Dont_Check 0 #endif #define XInput_2_0

[RFC XI 2.1 - inputproto] Add touch classes and events, bump to 2.1

2010-11-17 Thread Chase Douglas
Introduce multitouch support through a new TouchClass, as well as new TouchBegin, TouchEnd and TouchMotion events. Bump to version 2.1. Based on an initial patch by Daniel Stone (headers) and Peter Hutterer (protocol documentation). Signed-off-by: Daniel Stone dan...@fooishbar.org

Re: How to get a list of windows and process mapping

2010-11-17 Thread Rami Ylimäki
On 11/17/2010 06:41 PM, Trevor Woerner wrote: On Tue, Nov 16, 2010 at 3:44 PM, Adam Majerad...@zombino.com wrote: Is there a method of getting a list of all the windows on a given display or screen? Is there a method of mapping these Windows to host/pid? Maybe having a look at xwininfo (and

Re: [PATCH keyboard] Adjust to input ABI 12.

2010-11-17 Thread Chase Douglas
On 11/16/2010 07:11 PM, Peter Hutterer wrote: New PreInit prototype and a few other things. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- Sorry, had this on my local tree and never pushed it, hence why I didn't notice the build breaks. Cheers, Peter src/kbd.c | 80

Re: [PATCH mouse 0/3] ABI 12 fixes

2010-11-17 Thread Chase Douglas
On 11/16/2010 07:10 PM, Peter Hutterer wrote: oops, these were slumbering in my local tree but never got sent to the list. Fixing up the mouse driver for input ABI 12. Reviewed-by: Chase Douglas chase.doug...@canonical.com ___

Re: Smooth scrolling again

2010-11-17 Thread Simon Thum
On 11/14/10 22:52, Peter Hutterer wrote: On Sun, Nov 14, 2010 at 06:51:43PM +0100, Max Schwarz wrote: Are the drivers allowed to access the valuator structure (e.g. dev-valuator-axis[0].resolution = XY) or should I implement wrapper functions in the server to do that? It depends on whether

Re: [RFC][PATCH v3 resourceproto 1/1] Protocol description of X Resource Extension version 1.2.

2010-11-17 Thread Alan Coopersmith
[Due to mail delivery trouble I've missed the previous discussion on this, as well as pretty much all other mail for the last week, so apologies if I missed something.] Rami Ylimäki wrote: +The protocol description of X Resource Extension version 1.1 has been +either lost or has never been

Re: [PATCH keyboard] Adjust to input ABI 12.

2010-11-17 Thread Cyril Brulebois
Chase Douglas chase.doug...@canonical.com (17/11/2010): +#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) 12 +static int +NewKbdPreInit(InputDriverPtr drv, InputInfoPtr pInfo, int flags) Has this been test built against 12? I think you're missing a semicolon here. Indeed, and it builds fine once

Re: Smooth scrolling again

2010-11-17 Thread Max Schwarz
On Wednesday 17 November 2010 at 23:55:20, Simon Thum wrote: if possible, wrap it. it's much easier to work around issues than when each driver just mangles the struct directly. But I don't think you need a new call here, just re-using the existing InitValuatorAxisStruct should do.

Re: [PATCH keyboard] Adjust to input ABI 12.

2010-11-17 Thread Peter Hutterer
On Wed, Nov 17, 2010 at 01:51:19PM -0500, Chase Douglas wrote: On 11/16/2010 07:11 PM, Peter Hutterer wrote: New PreInit prototype and a few other things. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- Sorry, had this on my local tree and never pushed it, hence why I didn't

Re: [RFC XI 2.1 - xserver 7/9] Reorder AxisInfo elements

2010-11-17 Thread Peter Hutterer
On Wed, Nov 17, 2010 at 10:53:16AM -0500, Chase Douglas wrote: On 11/17/2010 01:11 AM, Peter Hutterer wrote: On Fri, Nov 12, 2010 at 05:35:08PM -0500, Chase Douglas wrote: From: Chase Douglas chase.doug...@ubuntu.com Reorder elements so they can be uniform with the upcoming TouchAxisInfo

Re: [RFC XI 2.1 - xinput 2/3 v2] Zero out entire mask when selecting for different events

2010-11-17 Thread Peter Hutterer
On Wed, Nov 17, 2010 at 10:42:38AM -0500, Chase Douglas wrote: Signed-off-by: Chase Douglas chase.doug...@canonical.com --- src/test_xi2.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test_xi2.c b/src/test_xi2.c index fea36a8..5b56397 100644 ---

Re: driver/xf86-input-keyboard wants IDevPtr

2010-11-17 Thread Peter Hutterer
On Mon, Nov 15, 2010 at 04:59:39PM -0500, Trevor Woerner wrote: Of the 10 input drivers of which build.sh is aware: driver/xf86-input-aiptek driver/xf86-input-evdev driver/xf86-input-joystick driver/xf86-input-vmmouse driver/xf86-input-acecad driver/xf86-input-keyboard

Re: Why my touch screen can not work?

2010-11-17 Thread Peter Hutterer
On Thu, Nov 18, 2010 at 09:28:47AM +0800, Leo wrote: Dear Peter: I attach my evtestxev log. it seems to work ok. But there's something intersting, I just repeat operation on the different place of touch screen. Evtest can distinguish the position, you can have a look at the log, the ABS

Re: [PATCH] xserver xf86PrintModeline(): print DisplayMode type bits.

2010-11-17 Thread Jesse Adkins
I have to say that I'm not really sure of the reasoning behind this. How does this really help? From reading modelines from different bug reports over time, the most common issue seems to be not why is this mode here but rather why is this supposedly valid mode being rejected? I wouldn't trust my

[PATCH keyboard v2] Adjust to input ABI 12.

2010-11-17 Thread Peter Hutterer
New PreInit prototype and a few other things. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- Tested against pre and post ABI 12 xserver trees. changes to v1: - add missing semicolon src/kbd.c | 80 + 1 files changed, 59

[PATCH mouse v2] Use pInfo-options instead of conf-idev.

2010-11-17 Thread Peter Hutterer
Because it doesn't really matter anyway, I think. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net Reviewed-by: Chase Douglas chase.doug...@canonical.com --- Stumbled across a bug before pushing when running against pre ABI 12. Changes to v1: - see xf86CollectInputOptions() handling in the

Re: [PATCH modular 2/3 (v3)] jhbuild: Support skipping packages on a per-architecture basis.

2010-11-17 Thread Jesse Adkins
+# There might be better ways to detect the architecture. Patches welcome. The only thing I can think of would be the platform library. http://docs.python.org/library/platform.html. platform.machine is probably the way to do it. I'd bet it uses something like uname behind the scenes. But I'm

p690 needs to be removed.

2010-11-17 Thread Jesse Adkins
It has a single commit to it, which adds a file called TEST which has the text 'TEST' inside of it. It's junk. ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info:

Re: [ANNOUNCE] xf86-video-glide 1.1.0

2010-11-17 Thread Alan Coopersmith
Guillem Jover wrote: Something else that's slightly annoying when doing autoreconf are the warnings due to invalid characters for the bug address in AC_INIT, specifically '?' and '=' in the bugzilla URL. autoconf 2.68 has fixed that bug:

Re: Why my touch screen can not work?

2010-11-17 Thread Leo
Sorry, forgot my attachment! 2010/11/18 Leo leo20090...@gmail.com Dear Peter: I attach my evtestxev log. it seems to work ok. But there's something intersting, I just repeat operation on the different place of touch screen. Evtest can distinguish the position, you can have a look at

Re: Why my touch screen can not work?

2010-11-17 Thread Leo
My evdev version is xf86-input-evdev-2.4.99.901. I still feel puzzled: 1. But why XEV can not get the right position?I test XEV in my ubuntu10.04, I can see the mouse's position changing. How does xserver's event flows? e.g: kernel-dev/input/eventX --read and analyzed by evdev--WM--app ??? 2.

Re: Why my touch screen can not work?

2010-11-17 Thread Leo
Dear Peter: I try the latest version later, thanks for all your reply. [?] B.R Leo 2010/11/18 Peter Hutterer peter.hutte...@who-t.net On Thu, Nov 18, 2010 at 10:40:45AM +0800, Leo wrote: My evdev version is xf86-input-evdev-2.4.99.901. I still feel puzzled: 1. But why XEV can not