[comp.windows.x] Some thoughts and questions...

samborn@ezx.sunrise.com (Kevin Samborn) (09/26/90)

		  I'll start with my questions:

First, I am using GDB 3.5 on a Sun SPARCstation1 (SunOS 4.0.3) to
debug X11r4/Xt programs, and when using the debugger, my application
doesn't go near my resources.  Whether I set XAPPLRESDIR,
XFILESEARCHPATH, XUSERFILESEARCHPATH, or load the resources into the
RESOURCE_MANAGER property with xrdb, when I run my program, GDB
doesn't find them.  This was really annoying, especially since I was
debugging a resource converter.  There must be a way to do this?

Second, I considered compiling Motif 1.1 on the SPARC with a shared
libXm.  Everything compiled smoothly, reducing the disk executable
from 1.5 meg to 48k.  However, in run-time, the ld.so reported
"_XtInherit" not found.  This is mentioned in the file
$TOP/lib/Xt/sharedlib.c, however I can't make heads or tails of it.
This is strange behavior, as it is not dependent on Motif- the bug is
coming from Xt. (maybe its not a bug)

		  Now some thoughts:

There doesn't seem to be any way of determining the color names
already loaded in the color database on the server.  This becomes
important when using a large host with many X terminals, etc.  How is
a program to know what colors are available?  Is this to be
implemented in future X?

Next, the ICCCM specifically states that the icon_pixmap field in the
WM_HINTS property for windows must contain a pixmap of depth 1.  Why??
This seems like a waste of computing power to me.  On a screen of
depth greater than 1, why limit it?  It should be up to the window
manager or the application to determine the depth of the screen.

kevin samborn
samborn@sunrise.com
...!uunet!ezx!samborn