Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Nov 2008
How to get the ID of a window according to some particular condition?
I know that in X window programming, if I know the ID of a particular window, I can manage it. For example, I can resize that window by using
XResizeWindow(display, win, 200, 300);
So my question is, how to get the window ID?
Particularly, when I know the PID of a program, how can I get the X window ID of the window in which it is running?
thanks in adv!