Hi,

So I'm wondering how do I get the window id of the toplevel window? Does 
anyone know of a command or existing code that does this?

Thanks
Sheldon.

On March 25, 2004 1:51 pm, Rick Beldin wrote:
> Perhaps some thought should be given to modify Xlib in a manner similar
> to the way Xt is modified with the XtDebug resource.   It sets the
> _MIT_OBJ_CLASS property on the window with the widget instance name and
> the application class name.    This is happening in Intrinsic.c in
> RealizeWidget().
>
> This approach would allow you to get pid information in the absence of
> a window manager, such as when running apps rootless on a PC or in some
> other constrained environment.
>
> Rick

-- 
==================================================================
"... all thoughts of selfish desire, ill-will, hatred and
 violence are the result of a lack of wisdom ... "
 - Buddha

For an awesome fantasy role playing game checkout:
http://lycadican.sourceforge.net

GPG KeyID=04B7F7F8
GPG Fingerprint=4B0F 7202 FAFF D146 5F56  9E83 BE7F D7F7 04B7 F7F8
==================================================================
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to