don't know how to use the LD_PRELOAD hack to get the id of a process creating a window

2004-03-25 Thread dave giffin
I appreciate all the feedback from people so quickly on my previous message. I read Carsten Haitzler's message about creating a library and getting x apps to load it via the LD_PRELOAD environment variable. This sounds like the best option for me. But, I'm not sure how to actually do it. I

how to convert a window ID to a linux process ID?

2004-03-24 Thread dave giffin
I need to be able to tell which process a given window was created by. (Window ID=Process ID) Apparently, X servers don't know which process a client is, they just get a socket (b/c of X's network transparency). It has been suggested that I could run a program like netstat on the client

Re: [XFree86] how to get socket ID for a window? (Window ID=Process ID)

2004-03-22 Thread dave giffin
no, xkill seems to send a destroy or kill event to the window. is there a way to find out which socket a window comes from? (Window ID= Socket ID) --- Lieven Buts [EMAIL PROTECTED] wrote: On Sunday 21 March 2004 10:00, dave giffin wrote: I would like to know how to find out which linux

[XFree86] how to get socket ID for a window?

2004-03-21 Thread dave giffin
I would like to know how to find out which linux process created a window (for this, I'm only interested in local processes, not a networked environment). It has been suggested that I use netstat to tell which sockets belong to a given process. But, how to I know which window(s) belongs to a

[XFree86] how to tell which linux process a window belongs to? (window ID = process ID)

2004-03-17 Thread dave giffin
I'm writing a window manager to experiment with different ways of organizing programs that users use. One of the things I'm trying requires that I know which windows belong to which linux process. My window manager is called when a new window is created. But, I don't have any way of telling

[XFree86] can different XV_COLORKEY values be set for different windows?

2004-02-01 Thread dave giffin
i've used xvattr to adjust XV_COLORKEY. I can then of course set XV_COLORKEY to 0 to make any windows that use libxv to have all their black pixels made transparent. But, can I set XV_COLORKEY for an individual window? If it can't be done now, could libxv be modified to do it, or would it

Re: [XFree86] removing 'blue-screen' produced by libXv

2004-01-25 Thread dave giffin
How do I change XV_COLORKEY? My video card is an Nvidia GeForce4 MX. I'm using the xfree86 driver provided by nvidia. --- Thomas Winischhofer [EMAIL PROTECTED] wrote: dave giffin wrote: I'm using mplayer with the 'xv' video output (which uses XFree86's libXv to render the video onto

[XFree86] removing 'blue-screen' produced by libXv

2004-01-24 Thread dave giffin
I'm using mplayer with the 'xv' video output (which uses XFree86's libXv to render the video onto the screen). But, when it first comes onto the screen, or when I move the window, there is a blue-screen for a moment until mplayer updates the display. I would like to be able to change this from

[XFree86] how to tell which linux process generated a given ConfigureRequest or MapRequest event?

2004-01-13 Thread dave giffin
I'm creating a window manager and some associated software. For this, I would like to know how I can tell which linux process generated a given ConfigureRequest or MapRequest event. My window manager, of course, recieves all ConfigureRequest and MapRequest events. I would like to know which

[XFree86] how to tell which window belongs to which process?

2004-01-09 Thread dave giffin
I'm developing a new window manager to expirement with new ways to organize user workspaces. As part of that, I need to know which window belongs to a given process (or instance of a certain program). Currently,I have my system programmed to assume that all new windows opened are from the

[XFree86] how to translate Xlib's Window IDs to Linux Process IDs

2004-01-05 Thread dave giffin
I'm making a new window manager to expirment with how to make workflow more efficient, and as part of that, I need to have my window manager ('desktop environment') aware of which window(s) correspond to a Linux Proccess ID. Currently, I have the system record all new windows created after I

[XFree86] don't understand how to get started w/ translucent windows

2004-01-01 Thread dave giffin
I looked at http://xserver.freedesktop.org/Software/TranslucentWindows and http://xserver.freedesktop.org/Software/Home, where I saw the 'xserver' project. How does this project relate to xfree86? I don't see anything that says if you want translucent windows, do this If I download and

[XFree86] Some Help Getting Started With XRender

2003-12-31 Thread dave giffin
I'd like to be able to make windows on my screen translucent. Is XRender the best way to do that? The main site for XRender at www.eax.com/render, appears to be down. I don't know if this is still the main site, but its really the only one that I can find on google. I can get a cached copy of the

[XFree86] what function in XFree86 is called when an app requests to change the cursor?

2003-12-24 Thread dave giffin
What function (and file) in XFree86 is called when an app requests to change the cursor? I've looked through the XFree86 source and can't find it. I'm hoping that when I do, I can hack it to ignore the request, thereby preventing my apps from messing with my cursor. :)

[XFree86] hiding pointer and/or moving it off screen

2003-12-14 Thread dave giffin
I run presentations on an X server. The pointer, which isn't connected to anything(I don't have a mouse for it), sits in the middle of the screen. I have been able to use 'xsetroot' to make it transparent so it doesn't show. But some programs I use will change the pointer to an arrow when they

[XFree86] hiding X cursor and turning off X sleep mode

2003-11-15 Thread dave giffin
how can I hide my cursor so it doesn't show up at all? When X starts my cursor is an 'X', but then when it moves over certain programs it changes to 'I' or an arrow. I would like to be able to hide it in such a way that it doesn't show up in any form. I know 'xsetroot' can do something with