home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / windows / x / 21080 < prev    next >
Encoding:
Text File  |  1993-01-12  |  1.9 KB  |  52 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!utcsri!geac!censor!animal!blmc45!blain
  3. From: blain@blmc45.QE.Bell.CA (Stephane Blain)
  4. Subject: Re: Positioning xdm-login window
  5. Message-ID: <C0qz48.1zr@animal.er.bell.ca>
  6. Sender: blain@blmc45 (Stephane Blain)
  7. Reply-To: stblain@stam.qe.bell.ca
  8. Organization: CARC -- Bell Canada
  9. References: <C01L6D.9KF@animal.er.bell.ca> <1993Jan4.174352.22485@mlb.semi.harris.com> <2657@eagle.ukc.ac.uk>
  10. Distribution: na
  11. Date: Tue, 12 Jan 1993 15:31:19 GMT
  12. Lines: 38
  13.  
  14. In article <2657@eagle.ukc.ac.uk>, rlh@ukc.ac.uk (R.L.Hesketh) writes:
  15. > I think Stephane wants to set the login window put up by xdm before
  16. > any session is started.  I suspect that the xdm in OpenWindows 3.0
  17. > is derived from the R4 version of the MIT xdm, which overrides any
  18. > settings for x and y with the code ...
  19. >     x = (WidthOfScreen (XtScreen (w)) - w->core.width) / 2;
  20. >     y = (HeightOfScreen (XtScreen (w)) - w->core.height) / 3;
  21. > However in R5 the code is ...
  22. >     if ((x = w->core.x) == -1)
  23. >         x = (int)(WidthOfScreen (XtScreen (w)) - w->core.width) / 2;
  24. >     if ((y = w->core.y) == -1)
  25. >         y = (int)(HeightOfScreen (XtScreen (w)) - w->core.height) / 3;
  26. > and x and y are set to -1 by default.  So the solution would be
  27. > to use xdm from the R5 source (I for one would be interested to hear what
  28. > happens if you try this).
  29. > Richard
  30.  
  31. Richard,
  32.  
  33. it's exactly my problem.  Before your mail, I have talked to the Sun people,
  34. and they told me that was a proplem of the xdm from MIT X11R4.  I have
  35. modified the xdm code myself (exactly the same lines that you told)
  36. and it work well.  But now then I know that was corrected in the X11R5,
  37. I will use the xdm from X11R5.
  38.  
  39. P.S.: Excuse my english, I'm not biligual...
  40.  
  41. --------------------------------------------------------------
  42. Stephane BLAIN ing. jr      | E-mail : stblain@stam.qe.bell.ca
  43.                 | Tel    : (514) 870-2638
  44.                 | Fax    : (514) 391-3146
  45.                 | Pagette: (514) 339-3379
  46.