Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!ATHENA.MIT.EDU!kit From: kit@ATHENA.MIT.EDU (Chris D. Peterson) Newsgroups: comp.windows.x Subject: Re: XTranslateCoordinates Message-ID: <8903202347.AA23175@DORA.MIT.EDU> Date: 20 Mar 89 23:47:19 GMT References: <16429@mimsy.UUCP> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 21 > Is there any reason not to use DefaultScreen? Yep, what if someone has a 2 headed display, and starts his program up with: % foo -display foo:0.1 You will be calculating against foo:0.0 and your translation will be garbage. It is best to use the RootWindowOfScreen() macro on the screen returned by XtScreen(). Chris D. Peterson MIT X Consortium / Project Athena Net: kit@athena.mit.edu Phone: (617) 253 - 1326 USMail: MIT - Room E40-321 77 Massachusetts Ave. Cambridge, MA 02139