[RFC][PATCH] xf86-input-evdev: add pressure valuator

2009-01-07 Thread Matt Helsley
If it available report pressure as the third valuator. Signed-off-by: Matt Helsley --- I couldn't seem to get the third valuator from X with xf86-input-evdev master when I was testing this over the holidays. (tested using the GIMP) So I backported to an older version of evdev available in my dis

Re: [PATCH] mi: ensure chained button mappings from SD -> MD (#19282)

2009-01-07 Thread Thomas Jaeger
Alexia: What is the point of remapping buttons willy-nilly before posting an event anyway? The comment suggests it just servers as a reminder of how remapping works. It's problematic in that proper DeviceMappingNotify events aren't send and I don't want to think about what could potentially happe

Re: exclude programs from input device grabs

2009-01-07 Thread Peter Hutterer
On Wed, Jan 07, 2009 at 02:55:58PM +, Patrick Sebastian Zimmermann wrote: > I'd like to program a mechanism for the xserver that allows certain > programs to recieve input events even when they are grabbed by another > program. This would allow X keygrabbers to work even when other > programs g

[PATCH] mi: ensure chained button mappings from SD -> MD (#19282)

2009-01-07 Thread Peter Hutterer
After copying the master event, flip the detail field to the mapped button of the SD, not the physical button. This way if the SD has a mapping 1:3 and the MD has a mapping of 3:4, a press on button 1 on the SD results in a core event on button 4. X.Org Bug 19282

[PATCH] Dead(?) code in monitor timing fallbacks

2009-01-07 Thread Bryce Harrington
In studying how the xserver handles undefined h/v sync rates (e.g. ancient monitors that don't provide EDID or DDC), I noticed this bit of code that doesn't appear to ever be executable. Am I missing something, or can this code be safely dropped? Or, what is/was it supposed to do? Bryce diff --

Re: problem with monitor asus vw198s

2009-01-07 Thread Dan Nicholson
On Wed, Jan 7, 2009 at 12:31 PM, Fabio wrote: >>> CPU: intel core2duo with 4 Gb of RAM >>> MB: asus p5ql-em >>> VGA: intel g43 (integrated on the MB) >>> Monitor: asus vw198s >>> >>> I installed ubuntu 8.10 (amd64). >>> >>> The first problem is that the correct resolution of the monitor >>> (1680x

[news] TWM -- Revised Edition

2009-01-07 Thread Tom LaStrange
Wow. It's alive! -- Tom L. ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg

Re: [PATCH 1/5] dix: re-implement enter/leave model.

2009-01-07 Thread Keith Packard
On Thu, 2009-01-08 at 10:13 +1000, Peter Hutterer wrote: > The old model was implemented based on a misunderstanding of NotifyVirtual and > NotifyNonlinearVirtual events. It became complicated and was broken in some > places [1]. This patch wipes this model completely. Independent of whether this

Re: xserver: Branch 'master'

2009-01-07 Thread Eamon Walsh
Colin Guthrie wrote: > 'Twas brillig, and Paulo César Pereira de Andrade at 07/01/09 16:55 did > gyre and gimble: > >> Daniel Stone wrote: >> >>> On Mon, Jan 05, 2009 at 11:25:11AM -0800, Paulo Cesar Pereira de Andrade >>> wrote: >>> -extern CallbackListPtr XaceHooks[XACE_NUM_H

SCaLE Promo Code for XORG

2009-01-07 Thread Joe Smith
Hey guys, The Southern California Linux Expo, a community run conference taking place in Los Angeles on February 20th to 22nd, is offering a 50% discount to the XORG community. When you go to register[1], just enter the promo code: XRG09. If you have any questions, please let me know. Thanks! Joe

[PATCH 5/5] dix: move focus handling into enterleave.c.

2009-01-07 Thread Peter Hutterer
This commit moves the focus handling from events.c into enterleave.c and implements a model similar to the core enter/leave model. For a full description of the model, see: http://lists.freedesktop.org/archives/xorg/2008-December/041740.html This commit also gets rid of the focusinout array in the

[PATCH 4/5] dix: add a few auxiliary functions for the updated focus model.

2009-01-07 Thread Peter Hutterer
SetFocusIn and SetFocusOut, including the static array to keep all focus windows. Signed-off-by: Peter Hutterer --- dix/enterleave.c | 54 ++ 1 files changed, 54 insertions(+), 0 deletions(-) diff --git a/dix/enterleave.c b/dix/enterleave.c

[PATCH 3/5] dix: reduce FirstPointerChild complexity

2009-01-07 Thread Peter Hutterer
Instead of keeping a flag on each window for the devices that are in this window, keep a local array that holds the current pointer window for each device. Benefit: searching for the first descendant of a pointer is a simple run through the array. Signed-off-by: Peter Hutterer --- dix/enterleave

[PATCH 2/5] dix: remove now unused "exclude" parameter from FirstPointerChild

2009-01-07 Thread Peter Hutterer
Signed-off-by: Peter Hutterer --- dix/enterleave.c | 23 --- 1 files changed, 8 insertions(+), 15 deletions(-) diff --git a/dix/enterleave.c b/dix/enterleave.c index df915f5..fbe7af4 100644 --- a/dix/enterleave.c +++ b/dix/enterleave.c @@ -73,13 +73,12 @@ HasPointer(WindowP

[PATCH 1/5] dix: re-implement enter/leave model.

2009-01-07 Thread Peter Hutterer
The old model was implemented based on a misunderstanding of NotifyVirtual and NotifyNonlinearVirtual events. It became complicated and was broken in some places [1]. This patch wipes this model completely. A much simplified implementation is provided instead. Rather than a top-down approach ("we

[PATCH 0/5] Enter/Leave and focus model implementation (Take 3)

2009-01-07 Thread Peter Hutterer
As you may be aware, current enter/leave events and focus in/out events are broken, leading to interesting effects (see Bug 19086 [1]). In what can be described as an hyperbolic approach, here's the third implementation of the enter/leave model for multiple pointers (this time also including focus

Re: xserver: Branch 'master'

2009-01-07 Thread Colin Guthrie
'Twas brillig, and Paulo César Pereira de Andrade at 07/01/09 16:55 did gyre and gimble: > Daniel Stone wrote: >> On Mon, Jan 05, 2009 at 11:25:11AM -0800, Paulo Cesar Pereira de Andrade >> wrote: >>> -extern CallbackListPtr XaceHooks[XACE_NUM_HOOKS]; >>> +extern _X_EXPORT CallbackListPtr XaceHook

SiS driver in X.org 7.4 'snows' and is unusable

2009-01-07 Thread Michał Gołębiowski
Hello, 'sis' driver included in X.org 7.4 (which is particularly used by Ubuntu 8.10 Intrepid Ibex) does not work with a lot of SiS graphic cards, including my SiS M760. Generated screen is 'fuzzy', one can see weird colors, flashy screen etc., making it hard to eyes. This makes this driver un

[PATCH 00/13] Cygwin/X,Xming: Various patches

2009-01-07 Thread Jon TURNEY
Various patches, mainly fixes to the internal WM which integrates with the native Windows WM from Xming, but also some build, usability and cosmetic fixes. Colin Harrison (7): Xming: Correct the way display and screen number is reported in window titles and tooltips Xming: Correctly parent

[PATCH 11/13] Xming: Ensure we dont try to print a null value when displaying xkb configuration

2009-01-07 Thread Jon TURNEY
From: Colin Harrison Signed-off-by: Jon TURNEY --- hw/xwin/winkeybd.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/hw/xwin/winkeybd.c b/hw/xwin/winkeybd.c index 90cd5af..24a7b43 100644 --- a/hw/xwin/winkeybd.c +++ b/hw/xwin/winkeybd.c @@ -267,9 +267,11 @@ winK

[PATCH 04/13] Xming: Correctly parent XA_WM_TRANSIENT_FOR windows in -multiwindow mode when a windows window is created.

2009-01-07 Thread Jon TURNEY
From: Colin Harrison Fix internal WM to correctly parent XA_WM_TRANSIENT_FOR windows in -multiwindow mode when a windows window is created, and to de-iconize parent windows when a child window acquires focus. XXX: Perhaps we should also shuffle parent(s) forward through Z-order when a child ac

[PATCH 13/13] Xming: Update .rc file to tidy About and Exit dialogs

2009-01-07 Thread Jon TURNEY
From: Colin Harrison Tidy up About and Exit dialogs, add keyboard accelerators Copyright (C) Colin Harrison 2005-2008 http://www.straightrunning.com/XmingNotes/ http://sourceforge.net/projects/xming/ Signed-off-by: Jon TURNEY --- hw/xwin/XWin.rc |8 1 files changed, 4 insertions(

[PATCH 06/13] Xming: Notify X when the keyboard focus is lost to a pure Windows window in -multiwindow mode.

2009-01-07 Thread Jon TURNEY
From: Colin Harrison Fix internal WM to notify X when the keyboard focus is lost to a pure Windows window in -multiwindow mode. Signed-off-by: Jon TURNEY --- hw/xwin/winmultiwindowwndproc.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/hw/xwin/winmultiwindowwndpro

[PATCH 09/13] Xming: Add styles keyword and attributes.

2009-01-07 Thread Jon TURNEY
From: Colin Harrison Add handling for style keyword and atttributes in .XWinrc Update man page to document these additions Copyright (C) Colin Harrison 2005-2008 http://www.straightrunning.com/XmingNotes/ http://sourceforge.net/projects/xming/ Signed-off-by: Jon TURNEY --- hw/xwin/XWinrc.man

RE: xorg Digest, Vol 42, Issue 20

2009-01-07 Thread AretiMixalis Areti Michalis
dont sent me any email please _ Εξασφαλίστε το ολοκαίνουριο Messenger 2009 τώρα! http://download.live.com/messenger___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.o

[PATCH 10/13] Cygwin/X: Check window placement to ensure window actually ends up somewhere visible

2009-01-07 Thread Jon TURNEY
Signed-off-by: Jon TURNEY --- hw/xwin/winmultiwindowwindow.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/hw/xwin/winmultiwindowwindow.c b/hw/xwin/winmultiwindowwindow.c index 2399d5a..da8a0a5 100644 --- a/hw/xwin/winmultiwindowwindow.c +++ b/hw/xwin/winmultiwind

[PATCH 03/13] Xming: Correct the way display and screen number is reported in window titles and tooltips

2009-01-07 Thread Jon TURNEY
From: Colin Harrison Correct the tooltip text for the toolbar X icon to be strictly correct, 'display-number:screen' should be ':display-number.screen'. Also for the default window title. Adjust the style of the Windows title in XDMCP mode from 'Xming - hostname' to 'hostname:display-number.scr

[PATCH 02/13] Cygwin/X: should also use GetTickCount(), just like Xming

2009-01-07 Thread Jon TURNEY
Unfortunately, we have to jump through hoops to get this to link properly... Signed-off-by: Jon TURNEY --- configure.ac |1 + os/utils.c |7 ++- 2 files changed, 7 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index 9161cba..d8b16fc 100644 --- a/configure.

Re: problem with monitor asus vw198s

2009-01-07 Thread Fabio
CPU: intel core2duo with 4 Gb of RAM MB: asus p5ql-em VGA: intel g43 (integrated on the MB) Monitor: asus vw198s I installed ubuntu 8.10 (amd64). The first problem is that the correct resolution of the monitor (1680x1050) is not recognized out of the box: after installation, it ran at a lower re

[PATCH 07/13] Cygwin/X: Correctly allow for the native window frame width in ValidateSizing()

2009-01-07 Thread Jon TURNEY
Fix internal WM to correctly use the current native window style in determining the native window border when validating window sizing XXX: Needs to allow for different border thickness when window is uncaptioned? Signed-off-by: Jon TURNEY --- hw/xwin/winmultiwindowwndproc.c | 31

[PATCH 12/13] Cygwin/X: Fix the keyboard mode key synchronization

2009-01-07 Thread Jon TURNEY
Fix the code which generates fake keypresses when an X window gains focus to bring the X servers idea of the state of these mode keys in to sync with any changes which might have taken place whilst unfocused. With MPX changes, the place the server stores the current mode key state has changed, app

[PATCH 01/13] Cygwin/X: Cygwin doesn't have RTLD_LOCAL

2009-01-07 Thread Jon TURNEY
From: Yaakov Selkowitz RTLD_LOCAL is not defined on Cygwin Signed-off-by: Jon TURNEY --- glx/glxdriswrast.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/glx/glxdriswrast.c b/glx/glxdriswrast.c index 5b3ecb0..de89d38 100644 --- a/glx/glxdriswrast.c +++ b/glx/gl

[PATCH 08/13] Cygwin/X: When the style changes, adjust the window size so the client area remains the same.

2009-01-07 Thread Jon TURNEY
When the style changes, adjust the window size so the client area remains the same. Otherwise the window size may change when sizing is reflected from Windows to X, and some windows are drawn expecting them to be exactly the reqeusted size (e.g. gmplayer control window) Signed-off-by: Jon TURNEY

[PATCH 05/13] Xming: Only allow WM_MOUSEWHEEL messages to act on the client area of a focused window.

2009-01-07 Thread Jon TURNEY
From: Colin Harrison Fix internal WM so it only allows WM_MOUSEWHEEL messages to act on the client area of a focused window. Signed-off-by: Jon TURNEY --- hw/xwin/winmultiwindowwndproc.c | 11 +++ 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/hw/xwin/winmultiwindoww

[ANNOUNCE] xf86-input-keyboard 1.3.2

2009-01-07 Thread Paulo César Pereira de Andrade
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Adam Jackson (2): Remove XFree86-Misc leftovers. Remove useless call to xf86AddModuleInfo Alan Coopersmith (2): sun_kbd.c: Don't try to repeat shutdown actions on already closed keyboard Renamed subdir .cvsignore files to .giti

Re:

2009-01-07 Thread Dan Nicholson
On Tue, Jan 6, 2009 at 1:47 PM, Fabio wrote: > > Hi all, > > I am having a strange problem and I can't find any help either googling or > on the x.org site. > > I have just bought a new pc: the components are > > CPU: intel core2duo with 4 Gb of RAM > MB: asus p5ql-em > VGA: intel g43 (integrated

Re: xserver: Branch 'master'

2009-01-07 Thread Paulo César Pereira de Andrade
Daniel Stone wrote: > On Mon, Jan 05, 2009 at 11:25:11AM -0800, Paulo Cesar Pereira de Andrade > wrote: >> -extern CallbackListPtr XaceHooks[XACE_NUM_HOOKS]; >> +extern _X_EXPORT CallbackListPtr XaceHooks[XACE_NUM_HOOKS]; > > ?!? If the symbols are in a installed sdk header, they presumably must

Re: [PATCH] xkb: Set sane build time XKB defaults

2009-01-07 Thread Dan Nicholson
On Wed, Jan 7, 2009 at 7:44 AM, Daniel Stone wrote: > On Wed, Jan 07, 2009 at 06:14:44AM -0800, Dan Nicholson wrote: >> Previously, DIX set the default XKB rules to "base, pc105, us" during >> initialization. That has now been moved to the DDX in 9c5dd733, but only >> covers Xorg. This makes the b

Re: [PATCHES] improve gamma support for randr-1.2 drivers

2009-01-07 Thread Shunichi Fuji
hi, some application say like below ..XFree86-VidMode Extension Version 2.2 ..XFree86-Xinerama Extension Version 1.1 ..Got colorbits 24, depthbits 24, stencilbits 8 ...setting mode 3: X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed requ

Re: [PATCH] xkb: Set sane build time XKB defaults

2009-01-07 Thread Daniel Stone
On Wed, Jan 07, 2009 at 06:14:44AM -0800, Dan Nicholson wrote: > Previously, DIX set the default XKB rules to "base, pc105, us" during > initialization. That has now been moved to the DDX in 9c5dd733, but only > covers Xorg. This makes the builtin XKB match the previous DIX defaults. > Also changes

exclude programs from input device grabs

2009-01-07 Thread Patrick Sebastian Zimmermann
Hello, this is my first post to this list, so hi everyone. I'd like to program a mechanism for the xserver that allows certain programs to recieve input events even when they are grabbed by another program. This would allow X keygrabbers to work even when other programs grabbed the keyboard (eg. m

Re: Converting kdrive server to Xorg driver

2009-01-07 Thread CooperYuan Cooper
sure, the two methods will call mmap function to map memory with shared and no-cached flag. On Wed, Jan 7, 2009 at 6:48 PM, Graeme Gregory wrote: > Hi, I have been trying to convert a kdrive server for the freerunner > phone into an Xorg driver and I have one small question that I can't > seem to

[PATCH] xkb: Set sane build time XKB defaults

2009-01-07 Thread Dan Nicholson
Previously, DIX set the default XKB rules to "base, pc105, us" during initialization. That has now been moved to the DDX in 9c5dd733, but only covers Xorg. This makes the builtin XKB match the previous DIX defaults. Also changes the fallback XKB path match the typical location, although XKB_BASE_DI

Re: xserver: Branch 'master'

2009-01-07 Thread Daniel Stone
On Mon, Jan 05, 2009 at 11:25:11AM -0800, Paulo Cesar Pereira de Andrade wrote: > -extern CallbackListPtr XaceHooks[XACE_NUM_HOOKS]; > +extern _X_EXPORT CallbackListPtr XaceHooks[XACE_NUM_HOOKS]; ?!? signature.asc Description: Digital signature ___ xor

Re: [news] TWM -- Revised Edition

2009-01-07 Thread Daniel Stone
On Tue, Jan 06, 2009 at 12:10:43PM +0100, Eeri Kask wrote: > Sincere thank you for the offer. If TWM users don't object I would > apply for an account in a short while and piecewise carry over all > improvements then. > > Essential features have been ported to vtwm as well and we are currently >

Re: [multiseat] hard freeze when running "X -arguments... :1"

2009-01-07 Thread Daniel Stone
On Mon, Jan 05, 2009 at 07:43:04AM +0100, Tomasz Chmielewski wrote: > Tiago Vignatti schrieb: > >> So far I have one problem: my computer freezes whenever I want to use > >> GDM as a desktop manager. On the other hand, everything works fine if > >> I use KDM. > >> > >> Closer investigation turned

Re: Floats in the protocol

2009-01-07 Thread Simon Thum
>>> On XDS 08, Keith suggested simply putting them on the wire. That is, >>> require IEEE756 32 bit and account for endianness. >> GLX already uses both 32 and 64 bit IEEE floats on the wire, so I don't >> see any reason to use something different here. >> >> I'd like to add floats to the render pr

Re: EXA and migration [was: shrink xrender featureset]

2009-01-07 Thread Michel Dänzer
On Tue, 2009-01-06 at 22:08 +0100, Clemens Eisserer wrote: > Hi Michael, Ahem. ;) > > I can definitely see how diagonal lines would cause migration ping-pong, > > but for gradients without blending, as of xserver 1.6 they should just > > get rendered by the CPU to the system memory copy without a

Converting kdrive server to Xorg driver

2009-01-07 Thread Graeme Gregory
Hi, I have been trying to convert a kdrive server for the freerunner phone into an Xorg driver and I have one small question that I can't seem to answer myself from TFM. This is on an arm device if that makes any difference. Is the following code in kdrive reg_base = (char *)KdMapDevice(0x80

Re: [PATCH] Default to use standard fonts and builtin fonts as a fallback

2009-01-07 Thread Nicolas Mailhot
Hi, >From a totally human and not technical POW, it would be great if use of core fonts, especially *failing* use of core fonts, resulted in a warning telling people to fontconfig-ify their apps. I'd rather have users pester application authors/ISVs so they move to the current millenium rather t