eichin@ATHENA.MIT.EDU (Mark W. Eichin) (06/17/88)
... doesn't exist, but would be nice to have. I have an application which gets started up at login time, before the user has a chance to download their xrdbdefaults into the server. ~/.Xdefaults is available, which lessens the problem somewhat. Then again, suppose a user changes a default, re-downloads, and wants the application to reread the defaults... My application will deal with the new set of values, but just calling XGetDefault() will read the cached values, not the new ones. Currently, for testing purposes, I just set dpy->db = dpy->xdefault = NULL; this is crude at best, and doesn't free any of the memory involved. src/lib/X/Xrm.c doesn't contain any routines to free databases, so it seems that this functionality was never intended. Any suggestions? I would like to have the ability for the user to change parameters through Xdefaults or xrdb (to avoid learning Yet Another Command Set) but if I can't find a clean way to do it, they just won't have the option... Mark Eichin <eichin@athena.mit.edu> Project Athena ``Watchmaker'', ZephyrTeam