Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!umich!samsung!zaphod.mps.ohio-state.edu!usc!snorkelwacker!bloom-beacon!EXPO.LCS.MIT.EDU!kit From: kit@EXPO.LCS.MIT.EDU (Chris D. Peterson) Newsgroups: comp.windows.x Subject: Re: X Resource Database Message-ID: <9006061542.AA26264@expo.lcs.mit.edu> Date: 6 Jun 90 15:42:00 GMT References: <8238@crdgw1.crd.ge.com> Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 43 > I am experiencing a problem with specifying geometry for > X clients through xrdb. Whatever geometry I specify for the > initial application shell is also used for every other > window which that application uses subsequently. It sounds like you are confused about how the resource matching is done. If you specify the geometry resource as: foo*geometry: 80x24+0+0 then it will match every shell widget in the application. If, however, you use the more specific notation foo.geometry: 80x24+0+0 you will only match the topmost shell of the application. There are applications who have widget heirachies that do not follow this rule, so it is best to consult the documention of each application to be sure of the right results. It sounds like you need to spend some time getting to know a bit more about the resource manager. Some suggested reading: Scheifler, Gettys, and Newman, "X Window System, C Library and Protocol Reference" Section 10.11, [doc/Xlib or hardcopy/Xlib] Fulton, "Using and Specifying X Resources", [doc/tutorials/resources.txt] Peterson, "Athena Widget Set - C Language Interface", Section 2.9.2, [doc/Xaw or hardcopy/Xaw] The directories contained in square brackets ([]) are locations of these documents on the MIT X11R4 distribution. Chris D. Peterson MIT X Consortium Net: kit@expo.lcs.mit.edu Phone: (617) 253 - 9608 Address: MIT - Room NE43-213