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

--
+--------------------------------------------------------------------------+
| Rick Beldin                    |  Hewlett-Packard Company                |
| email: [EMAIL PROTECTED]      |  Global Solutions Engineering           |
|                                |  20 Perimeter Summit                    |
+--------------------------------------------------------------------------+

_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to