We've been looking at the X-Resource extension with an eye towards
possibly incorporating it into Xsun in a future release of Solaris,
and as such put it before our internal architecture review committee.

The response is basically "that sounds like a good idea" (especially
when we mention we've already used it in a couple one-off custom builds
for debugging customer reported problems and found it saved a lot of
time determining where the "Xsun memory leak" really was), but there
were a couple of questions they raised that I couldn't answer:

1) Are there any plans to include a client in the main distribution of
   XFree86?  restest works, but needs some polishing to be ready for
   actually including it.  I had thought that perhaps a "-r" option could
   be added to xlsclients, but upon looking into the source it seems the
   way xlsclients lists clients is very different than the X-Resource
   extension usage, so it may not be a good fit, and perhaps polishing
   restest into a separate "xlsresources" would be better.  ("Polishing"
   basically being adding an Imakefile, man page, error handling, and
   making it not deadlock when the xterm output buffer fills while it
   has the server grabbed.)

2) What is reported in Xinerama mode (and more importantly, what should
   be reported)?  Is the pixmap byte count the size the client thinks it
   allocated or the real size (including the copies for all screens)?
   It seems to me for tracking down X memory usage it's more important to
   report the bytes of all the copies, but to make sure it's clearly
   documented that you should expect the N-screen Xinerama results to be
   N times larger than the single head results.  On the other hand, I
   think it makes more sense when reporting resource counts to only count
   those for the main screen and not the shadow copies for all the other
   screens.

--
        -Alan Coopersmith-         [EMAIL PROTECTED]
         Sun Microsystems, Inc.    -     Sun Software Group
         User Experience Engineering: G11N: X Window System

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

Reply via email to