On Sat, 12 Feb 2005 16:57:51 +0530 Kala B <[EMAIL PROTECTED]> babbled:
(B
(B> Hi,
(B> Thanks a lot for your immediate reply. 
(B> It would be very helpful if you could point me to a  mechanism,
(B> whereby I could achieve the same without an LD_PRELOAD?
(B
(Bhack xlib itself. ie replace libX11.so with a modified version that does what
(Bthis LD_PRELOAD does.
(B
(B> Thanks again
(B> Kala.
(B> 
(B> 
(B>  
(B> 
(B> 
(B> On Sat, 12 Feb 2005 20:20:59 +0900, The Rasterman Carsten Haitzler
(B> <[EMAIL PROTECTED]> wrote:
(B> > On Sat, 12 Feb 2005 16:17:33 +0530 Kala B <[EMAIL PROTECTED]> babbled:
(B> > 
(B> > > Hi,
(B> > >
(B> > > I am trying to develop an application, which needs to know the owner (
(B> > > process id )  of every window that is being created on the system. As,
(B> > > setting of _NET_WM_PID is not mandated for applications, is there some
(B> > > other way through which I could get to know the pid of a window?
(B> > >
(B> > > I am only interested in the scenario, when both the xserver and
(B> > > xclient are on the same machine, so the XServer uses a Unix domain
(B> > > socket. So, in this case, the XServer would anyway get to know the pid
(B> > > of the connecting client by using the SO_PEERCRED option. Can the
(B> > > xserver propagate the pid of the client ? (Probably by adding another
(B> > > specific property to every window being created?). Would there be any
(B> > > issues with this approach.
(B> > >
(B> > > These are my very very initial thoughts and am also new to X, so
(B> > > request you all to give me your suggestions.
(B> > 
(B> > see attached source and Makefile.am - use it as an LD_PRELOAD (i did this a
(Blong
(B> > time ago) and then u guarantee properties on everything you run with the
(B> > LD_PRELOAD active.
(B> > 
(B> > > Thanks a lot
(B> > > Kala
(B> > > _______________________________________________
(B> > > Devel mailing list
(B> > > [email protected]
(B> > > http://XFree86.Org/mailman/listinfo/devel
(B> > >
(B> > 
(B> > --
(B> > ------------- Codito, ergo sum - "I code, therefore I am" --------------
(B> > The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]
(B> > $BMg9%B?(B                              [EMAIL PROTECTED]
(B> > Tokyo, Japan ($BEl5~(B $BF|K\(B)
(B> > 
(B> > 
(B> >
(B> 
(B
(B
(B-- 
(B------------- Codito, ergo sum - "I code, therefore I am" --------------
(BThe Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]
$BMg9%B?(B                              [EMAIL PROTECTED]
(BTokyo, Japan ($BEl5~(B $BF|K\(B)
(B_______________________________________________
(BDevel mailing list
([email protected]
(Bhttp://XFree86.Org/mailman/listinfo/devel

Reply via email to