Path: utzoo!attcan!uunet!cs.utexas.edu!usc!bloom-beacon!EXPO.LCS.MIT.EDU!kit From: kit@EXPO.LCS.MIT.EDU (Chris D. Peterson) Newsgroups: comp.windows.x Subject: Re: resource management with Xt Message-ID: <8907061538.AA04480@expo.lcs.mit.edu> Date: 6 Jul 89 15:37:59 GMT References: <2940@helios.ee.lbl.gov> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 24 > According to Doug Young, in his "X Window Systems Programming and > Applications with Xt" book (p. 50), when XtInitialize() is called, > if a resource is not found in the RESOURCE_MANAGER, the value for > that resource is obtained from the user's .Xdefaults file in > his/her home directory. The information in Doug Young's book is correct, but the concept is a bit confusing. The $HOME/.Xdefaults file is only read if there are NO resources loaded onto the server. This is equivalent to the comment in this book that the .Xdefaults file will be searched if there is no value specified for the RESIOURCE_MANAGER property on the root window of the display that you using. If there are any resources loaded into your server (whether or not they match the resource requested) then the .Xdefaults file will not be searched. It is best to look upon .Xdefaults as a compatability feature left for people who were using this behavior in X10. Chris D. Peterson MIT X Consortium Net: kit@expo.lcs.mit.edu Phone: (617) 253 - 9608 Address: MIT - Room NE43-213