how to tell which linux process a window belongs to? (window ID => process ID)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 which process
they belong to. All I have is the window ID.

I need a way to translate a window ID to a linux
Process ID. This solution doesn't have to be cross
platform, I just need it to work on linux.

I'm using PLWM (a python library to implement window
managers in python).

:)

__________________________________
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com
_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux