home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / softsys / andrew / 1236 < prev    next >
Encoding:
Internet Message Format  |  1992-09-14  |  1.5 KB

  1. Path: sparky!uunet!wupost!usc!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!ANDREW.CMU.EDU!rr2b+
  2. From: rr2b+@ANDREW.CMU.EDU (Robert Andrew Ryan)
  3. Newsgroups: comp.soft-sys.andrew
  4. Subject: Re: User Interface with ATK : iconified windows
  5. Message-ID: <8ehHa_S00WoiAqNF9W@andrew.cmu.edu>
  6. Date: 15 Sep 92 01:16:58 GMT
  7. References: <1992Sep14.200019.18359@csi.uottawa.ca>
  8. Sender: daemon@ucbvax.BERKELEY.EDU
  9. Distribution: world
  10. Organization: The Internet
  11. Lines: 30
  12.  
  13. Excerpts from internet.other.info-andrew: 14-Sep-92 User Interface with
  14. ATK : i.. Isabelle Tourneux@ucbvax (909)
  15.  
  16. > I wondered if I could do this by specifying something in the
  17. > "preferences" file, or by adding an "initfile" or by using twm (for
  18. > example the StartIconified function of twm).
  19.  
  20. > My final aim is to run the program prog from the file ".startxrc", with
  21. > the iconified option.
  22.  
  23. I suspect that a 'feature' will make what you want difficult to achieve.
  24.  You should indeed be able to use twm features to have ATK apps start
  25. iconified.  But they will block waiting for the window to be exposed
  26. when you try to open the first window (with im_Create at some level in
  27. the code.)  This may or may not be the desired behavior.
  28.  
  29. If can't wait look at around line 3356 in xim.c for:
  30.  
  31.         boolean seenexpose=FALSE;
  32.  
  33. and replace it with:
  34.  
  35.         boolean seenexpose = !environ_GetProfileSwitch("WaitForExpose", TRUE);
  36.  
  37. Then if the preference WaitForExpose is set to false the blocking while
  38. waiting for the exposure will be avoided.
  39.  
  40. Hope this helps,
  41. -Rob Ryan
  42. Andrew Consortium
  43.