home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / aix / 12600 < prev    next >
Encoding:
Internet Message Format  |  1992-12-16  |  1.7 KB

  1. Path: sparky!uunet!psinntp!rd821!a040130
  2. From: a040130@rd821.UUCP (Rick Esposito)
  3. Newsgroups: comp.unix.aix
  4. Subject: Explicit Motif window placement problem
  5. Message-ID: <151@rd821.UUCP>
  6. Date: 15 Dec 92 18:05:52 GMT
  7. Reply-To: a040130@rd821.gleason.com
  8. Organization: The Gleason Works, Rochester New York
  9. Lines: 41
  10. X-Newsreader: Tin 1.1 PL4
  11.  
  12. I am having problems with explicitly placing windows using 
  13. AIX 3.2 golden , X11R4 and motif 1.1. 
  14.  
  15. If I run the application using X11R5 and motif 1.2 on a sun ipc,
  16. everything is fine.
  17.  
  18. If I open an xterm window on the sun, telnet in to the 
  19. RS6000 machine and run the application, everything is fine.
  20.  
  21. If I run the application, on the RS6000 the x and y values are
  22. ignored. I tried this using an NCD xterminal and a PC emulating an X terminal.
  23.  
  24. There is nothing obvious in my .Xdefaults file that would override 
  25. my x and y's for the window.
  26. I tried changing Mwm*clientAutoPlace, but that didn't help either.
  27.  
  28. Does anybody have any suggestions????
  29.  
  30. Source code:
  31.     AppShell = XtAppCreateShell( BX_APP_NAME, BX_APP_CLASS,
  32.             applicationShellWidgetClass, display, args, argcnt);
  33.  
  34.     argcnt = 0;
  35.     XtSetArg(args[argcnt], XmNresizePolicy, XmRESIZE_ANY); argcnt++;
  36.     XtSetArg(args[argcnt], XmNdeleteResponse, XmDO_NOTHING); argcnt++;
  37.     Shell000 = XtCreatePopupShell( "applicationShell",
  38.         topLevelShellWidgetClass, AppShell, args, argcnt);
  39.  
  40. Application defaults file:
  41.  
  42. cage*applicationShell.x:1
  43. cage*applicationShell.y:1
  44. # i tried this as a last resort
  45. cage*.x:1
  46. cage*.y:1
  47.  
  48. -- 
  49. Rick Esposito - R&D        a040130@rd821.gleason.com
  50. The Gleason Works        Compuserve: 73427,2414
  51. 1000 University Ave.        Voice: (716) 473-1000x3261
  52. Rochester NY 14692        FAX: (716) 461-4348
  53.