Path: utzoo!utgpu!watmath!att!ucbvax!ucdavis!austin From: austin@lily.ucdavis.edu (Darren Austin) Newsgroups: comp.windows.x Subject: Getting the server defaults Message-ID: Date: 26 Jul 89 21:55:11 GMT Sender: uucp@ucdavis.ucdavis.edu Reply-To: austin@iris.ucdavis.edu Distribution: comp Organization: UC Davis Division of Computer Science Lines: 24 Hello XGurus! In the book "Xlib Programming Manual" by Adrian Nye (O'Reilly & Associates, Inc.) on page 345, it is shown how to get the defaults set by the user (using xrdb) from the server. Apparently these defaults are a string stored in the display->xdefaults field. The book mentions that referencing this value directly is not a good idea as the name of the field may change in later releases. However, it goes on to mention that there is no macro under X11 release 2 that does this for you. Has this been remedied in release 3? If not, will it been taken care of in release 4? Thanks, --Darren -- --------------------------------------+------------------------------- Darren Austin | Is is a mistake to think you UC Davis Division of Computer Science | can solve any major problem austin@iris.ucdavis.edu | just with potatoes. --------------------------------------+-------------------------------