Re: Make EVDEV a driver which is acutally useful

2010-08-30 Thread ManDay
I'm deperately trying to solve a real world problem that is. Many applications do not have such sophisticated methods to use input devices (in my case: GIMP). If X/evdev gave me the option to arbitrarily remapw anything to anything (or just axes-buttons, for that matter) it would solve this

Re: [RFC] Making tracing/debugging of client requests easier

2010-08-30 Thread Alan Coopersmith
Tiago Vignatti wrote: I'll next describe how I'm going to implement this based on the RFC review comments that I have received. The work is divided into a small server side interface/extension nitpick: I think extension isn't a good name for an internal X server component. In X context,

Xephyr with DRI/DRI2

2010-08-30 Thread Feng, Haitao
Hi, In May I have submitted code patches to enable DRI2 extension for Xephyr. In that patch, I have preferred to use DRI extension to get OpenGL acceleration, and if there is no DRI extension, I will use DRI2 extension. To enable DRI2 extension, some files are added and the basic logics are the

Re: [PATCH app-xdm 09/11] config: remove AC_PROG_CC as it overrides AC_PROG_C_C99

2010-08-30 Thread Mark Kettenis
From: Gaetan Nadon mems...@videotron.ca Date: Sun, 29 Aug 2010 12:51:58 -0400 On Sun, 2010-08-29 at 16:35 +0200, Mark Kettenis wrote: I'm confused here. Why does xdm (or anything in Xorg for that matter) use AC_PROG_C_C99? Things are still supposed to compile with a C89 compiler

Re: [PATCH 7/8] Make the RECORD and DBE extensions builtin

2010-08-30 Thread Tomas Carnecky
On 8/29/10 7:01 PM, Fernando Carrijo wrote: Tomas Carnecky t...@dbservice.com wrote: diff --git a/mi/miinitext.c b/mi/miinitext.c index 5ad7a39..e6f150f 100644 --- a/mi/miinitext.c +++ b/mi/miinitext.c @@ -532,6 +532,12 @@ static ExtensionModule staticExtensions[] = { #ifdef XSELINUX

[PATCH 0/3] xserver: Client ID tracking

2010-08-30 Thread Rami Ylimäki
Hi, These patches add a simple framework for determining client related IDs such as PID and process name within X server. After these changes have been reviewed and accepted, the XRes extension will be modified to use the framework and provide client ID information for clients with a new protocol

[PATCH 1/3] dix: Add facilities for client ID tracking.

2010-08-30 Thread Rami Ylimäki
An interface is provided for figuring out the PID and process name of a client. Make some existing functionality from SELinux and IA extensions available for general use. Signed-off-by: Rami Ylimäki rami.ylim...@vincit.fi --- dix/Makefile.am |1 + dix/client.c | 273

[PATCH 3/3] Xext: Enable client ID tracking in extensions (SELinux).

2010-08-30 Thread Rami Ylimäki
Make SELinux use the public interface for querying client command string. SELinux could be optimized further by removing its own copy of the command string. However, that optimization has been left out for simplicity. Signed-off-by: Rami Ylimäki rami.ylim...@vincit.fi --- I haven't tested SELinux

[PATCH 2/3] dix: Enable client ID tracking in server.

2010-08-30 Thread Rami Ylimäki
Let X server to keep track of client PIDs and process names. Also make the client tracking interface available for external modules. Linking order of Xnest libraries needs to be fixed, because libmain depends on libdix and not vice versa. Signed-off-by: Rami Ylimäki rami.ylim...@vincit.fi ---

[PATCH] randr: Beware the driver switching root pixmaps

2010-08-30 Thread Chris Wilson
Program received signal SIGSEGV, Segmentation fault. 0x080d4a2d in xf86RandR12ScreenSetSize (pScreen=0x8dca3a0, width=800, height=600, mmWidth=210, mmHeight=157) at ../../../../hw/xfree86/modes/xf86RandR12.c:731 731 ../../../../hw/xfree86/modes/xf86RandR12.c: No such file or directory.

Re: [PATCH mach64] Don't attempt to stop video on Mach64's without hardware overlay support

2010-08-30 Thread Adam Jackson
On Sun, 2010-08-29 at 18:06 +0200, Mark Kettenis wrote: Older Mach64 variants don't have hardware overlay support. This is handled properly when the XVideo adapter is initialized (we bail out early), but ATICloseXVideo() unconditionally tries to stop video during screen termination. This

Re: [PATCH mach64] Don't play wrapping games

2010-08-30 Thread Adam Jackson
On Sun, 2010-08-29 at 18:13 +0200, Mark Kettenis wrote: The driver calls the wrapped CloseScreen function in the middle of messing with the hardware state. On multi-card setups this may cause the VGA arbiter to switch to a different card while we're in the middle of things, with obvious

Re: [PATCH 1/3] dix: Add facilities for client ID tracking.

2010-08-30 Thread Vignatti Tiago (Nokia-MS/Helsinki)
Hi, On Mon, Aug 30, 2010 at 03:29:31PM +0200, ext Rami Ylimäki wrote: Make some existing functionality from SELinux and IA extensions available for general use. probably you need to preserve the original copyright through the files then? I don't know how it works (for instance, if depends the

Re: [PATCH 0/3] xserver: Client ID tracking

2010-08-30 Thread Mark Kettenis
From: =?utf-8?q?Rami=20Ylim=C3=A4ki?= rami.ylim...@vincit.fi Date: Mon, 30 Aug 2010 16:29:30 +0300 Hi, These patches add a simple framework for determining client related IDs such as PID and process name within X server. After these changes have been reviewed and accepted, the XRes

[PATCH] os: add -sigstop option for Upstart (or equivalent) startup

2010-08-30 Thread Tiago Vignatti
From: Oliver Mcfadden oliver.mcfad...@nokia.com This is very similar to the RunFromSmartParent (implicit) option, except we do not send the signal to our parent process, but our own process instead, and that signal is SIGSTOP, not SIGUSR1. Upstart or a similar equivalent program will detect

Re: Make EVDEV a driver which is acutally useful

2010-08-30 Thread Oldřich Jedlička
On Monday 30 August 2010 10:14:10 ManDay wrote: I'm deperately trying to solve a real world problem that is. Many applications do not have such sophisticated methods to use input devices (in my case: GIMP). If X/evdev gave me the option to arbitrarily remapw anything to anything (or just

Re: Make EVDEV a driver which is acutally useful

2010-08-30 Thread Oldřich Jedlička
On Monday 30 August 2010 21:14:24 Cedric Sodhi wrote: If you talk about a mouse it sounds like you are referring to 3-DOF-at-most input devices. Please be aware that in my case I want to map, say the 5th axis. It doesn't matter which axis you want to map/translate or if you talk about mouse

[PATCH] Add screens to the PRIVATE_XSELINUX set.

2010-08-30 Thread Eamon Walsh
The SELinux extension does store a security label in the screen devPrivates. Fixes crash caused by overwriting another private. Signed-off-by: Eamon Walsh ewa...@tycho.nsa.gov Reported-by: Justin Mattock justinmatt...@gmail.com --- dix/privates.c |1 + 1 files changed, 1 insertions(+), 0

Re: [PATCH] Fix udev population of input device USB product IDs

2010-08-30 Thread Chase Douglas
On Mon, 2010-08-30 at 11:47 +1000, Peter Hutterer wrote: On Thu, Aug 26, 2010 at 06:36:01PM -0400, Chase Douglas wrote: From: Chase Douglas chase.doug...@ubuntu.com The udev device_added function takes the vendor and model IDs of added devices and converts them into an attribute that can

Re: How to send XI2 events from a client to the other client(s) ?

2010-08-30 Thread Peter Hutterer
On Mon, Aug 30, 2010 at 05:33:51PM +0900, Park Sung-Jin wrote: Hi, Thank you for your answer. :) As you said, distinguishing between NotifyGrab and NotifyNormal of FocusIn/FocusOut event can be a good choice. But I have several applications which use their different toolkits concurrently

Re: Make EVDEV a driver which is acutally useful

2010-08-30 Thread Peter Hutterer
On Mon, Aug 30, 2010 at 10:14:10AM +0200, ManDay wrote: I'm deperately trying to solve a real world problem that is. Many applications do not have such sophisticated methods to use input devices (in my case: GIMP). If X/evdev gave me the option to arbitrarily remapw anything to anything (or

Re: [PATCH] Fix udev population of Bluetooth input device product IDs

2010-08-30 Thread Chase Douglas
On Tue, 2010-08-31 at 10:07 +1000, Peter Hutterer wrote: On Mon, Aug 30, 2010 at 05:59:30PM -0400, Chase Douglas wrote: From: Chase Douglas chase.doug...@ubuntu.com The udev device_added function takes the vendor and model IDs of added devices and converts them into an attribute that can

Re: [PATCH 7/8] Make the RECORD and DBE extensions builtin

2010-08-30 Thread Fernando Carrijo
Tomas Carnecky t...@dbservice.com wrote: On 8/29/10 7:01 PM, Fernando Carrijo wrote: Tomas Carnecky t...@dbservice.com wrote: diff --git a/mi/miinitext.c b/mi/miinitext.c index 5ad7a39..e6f150f 100644 --- a/mi/miinitext.c +++ b/mi/miinitext.c @@ -532,6 +532,12 @@ static

how to intercept the key event across VM-borders

2010-08-30 Thread tianyong1979sh
the following words is what i want to do. the operating envirnoment is like that:there is a host and a Virtual Machine(VM) of Xen.the host is Fedora13 and the VM is another OS. our command is that i want to intercept a special key ,such as F10. firstly i use the fuction XGrabKey() of

Re: [PATCH 1/3] dix: Add facilities for client ID tracking.

2010-08-30 Thread Alan Coopersmith
Vignatti Tiago (Nokia-MS/Helsinki) wrote: +#ifndef CLIENT_IDS_H +#define CLIENT_IDS_H does anyone knows if these macros on the top of header files are useful for some reason? I don't think so. They prevent errors about redefined types/macros if the file gets included twice for some reason -

Re: [PATCH] Add screens to the PRIVATE_XSELINUX set.

2010-08-30 Thread Justin P. Mattock
On 08/30/2010 01:37 PM, Eamon Walsh wrote: The SELinux extension does store a security label in the screen devPrivates. Fixes crash caused by overwriting another private. Signed-off-by: Eamon Walshewa...@tycho.nsa.gov Reported-by: Justin Mattockjustinmatt...@gmail.com --- dix/privates.c |