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
On Wed, 24 Mar 2004 00:52:28 -0800 (PST) dave giffin [EMAIL PROTECTED]
(Bbabbled:
(B
(B/lurk
(B
(Bmuch much much cleaner:
(Bcompile the attached 2 files into a .so shared library and use it as an
(BLD_PRELOAD when running ALL x applications (or make appropriate changes to Xlib
(Bitself).
Wed, Mar 24, 2004 at 12:52:28AM -0800, dave giffin escribió:
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).
If you are
On Tue 23 Mar 2004 21:48:31 -0500,
David Dawes [EMAIL PROTECTED] wrote:
The affect on data structures that may be part of the module
interfaces is potentially more serious. It might also be a non-issue
if none of the affected data structures are part of module interfaces.
I haven't looked
Wed, Mar 24, 2004 at 05:16:59PM +0100, Marcus Schaefer escribió:
I tried your example because I don't know the _NET_WM_PID property
and was interested in it. Unfortunately the call to XGetWindowProperty()
never filled the prop data. Your code is checking against the return
code of
Hi,
I tried your example because I don't know the _NET_WM_PID property
and was interested in it. Unfortunately the call to XGetWindowProperty()
never filled the prop data. Your code is checking against the return
code of XGetWindowProperty() which is fine but prop equals to (nil) in
all my
Fernando Herrera [EMAIL PROTECTED] writes:
Wed, Mar 24, 2004 at 12:52:28AM -0800, dave giffin escribió:
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
On Wed, 2004-03-24 at 03:52, dave giffin wrote:
I need to be able to tell which process a given window
was created by. (Window ID=Process ID)
On the server side, in os/access.c, is a function LocalClientCred() that
you can use to get the UID and GID of a local client. This function
could be
On Wed, 24 Mar 2004, [iso-8859-1] Mns Rullgrd wrote:
Fernando Herrera [EMAIL PROTECTED] writes:
If you are running a window manager setting the _NET_WM_PID
property correctly (metacity does it, dunno about others) you can do the
mapping easily.
How does it handle windows owned by
On Wed, 24 Mar 2004 18:13:58 +0100 Marcus Schaefer [EMAIL PROTECTED] babbled:
(B
(B Hi,
(B
(B I tried your example because I don't know the _NET_WM_PID property
(B and was interested in it. Unfortunately the call to XGetWindowProperty()
(B never filled the prop data. Your code is
On Wed, Mar 24, 2004 at 11:29:03AM -0500, Rik Faith wrote:
On Tue 23 Mar 2004 21:48:31 -0500,
David Dawes [EMAIL PROTECTED] wrote:
The affect on data structures that may be part of the module
interfaces is potentially more serious. It might also be a non-issue
if none of the affected data
11 matches
Mail list logo