Path: utzoo!attcan!uunet!cs.utexas.edu!rutgers!apple!bloom-beacon!HPLABS.HP.COM!charles%hplcyy From: charles%hplcyy@HPLABS.HP.COM (Charles Young) Newsgroups: comp.windows.x Subject: managing pixmaps in the server? Message-ID: <8905161459.AA02423@hplcyy.HPL.HP.COM> Date: 16 May 89 14:59:26 GMT Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 24 X does a good job in sharing server resources such as colors and fonts. However, it does not seem to share Pixmaps (which is a server resource) well between clients. Is there a way to assign a property to a Pixmap, such as its name, and query the server for the pixmap given the name. It would be really wonderful if ther server can keep track of how many clients are using the pixmap and free the pixmap when all the clients are gone. In general, I think the philosophy should be that any precious server resource should be sharable and well managed by the server. I tried using XrmDatabase to manage the pixmaps and found out that there isn't any way to remove any entry from the database. More than that, I have to keep track of client usage and free the pixmap when it is no longer useful. Definitely not as convienent as using fonts or colors. Is there a way to manage pixmaps in the server? Thanks for Any suggestions Charles Young, (cyoung@hplabs.hp.com)