Get an X window ID

Paulo Zanoni przanoni at gmail.com
Thu May 17 05:19:56 PDT 2007


You could try xwininfo.

2007/5/17, eberrocal at laurel.datsi.fi.upm.es <eberrocal at laurel.datsi.fi.upm.es>:
> My problem is that I need to know the ID of an X window.
>
> I have a program that lunch other program with the typical fork() and
> after execl().
>
> I have the ID of the process but I need the ID of the window because I
> need to send X events to this window.
>
> There are any form to get the window ID of a program (of what I have his
> process ID) ??:
>
> Thanks for your time.
>
> Edu.
>
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg
>



More information about the xorg mailing list