Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!lll-winken!elroy.jpl.nasa.gov!usc!wuarchive!mit-eddie!bloom-beacon!dont-send-mail-to-path-lines From: rick@pbi.COM (Richard M. Goldstein) Newsgroups: comp.windows.x Subject: Re: Question About Poor Interaction Between Mwm and XView Applications Message-ID: <9103041504.AA01158@marvin.pbi.com> Date: 4 Mar 91 15:04:02 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 30 My group has written several applications using the XView toolkit. Our applications tend to set up default initial placements for their windows (i.e., they set XV_X and XV_Y attributes). However, when we run the same XView-written applications under the control of the Motif Window Manager (mwm), Mwm does not "listen" to the XView applications' placement requests. I have found XV_X and XV_Y to be generally unreliable for the placement of Frames in XView. The work-around seems to be using the rect->r_left and rect->r_top from the frame's WIN_RECT attribute. See p. 70 of the XVPM. hope this helps rick %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % Richard M. Goldstein % % % % Perfect Byte, Inc. Phone: (402)554-1122 % % 7121 Cass St. Fax: (402)554-1938 % % Omaha, NE 68132 email: rick@pbi.com % % % % "If I knew what I was doing, % % d'ya think I'd be in Omaha?" % % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%