home *** CD-ROM | disk | FTP | other *** search
- 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+
- From: rr2b+@ANDREW.CMU.EDU (Robert Andrew Ryan)
- Newsgroups: comp.soft-sys.andrew
- Subject: Re: User Interface with ATK : iconified windows
- Message-ID: <8ehHa_S00WoiAqNF9W@andrew.cmu.edu>
- Date: 15 Sep 92 01:16:58 GMT
- References: <1992Sep14.200019.18359@csi.uottawa.ca>
- Sender: daemon@ucbvax.BERKELEY.EDU
- Distribution: world
- Organization: The Internet
- Lines: 30
-
- Excerpts from internet.other.info-andrew: 14-Sep-92 User Interface with
- ATK : i.. Isabelle Tourneux@ucbvax (909)
-
- > I wondered if I could do this by specifying something in the
- > "preferences" file, or by adding an "initfile" or by using twm (for
- > example the StartIconified function of twm).
-
- > My final aim is to run the program prog from the file ".startxrc", with
- > the iconified option.
-
- I suspect that a 'feature' will make what you want difficult to achieve.
- You should indeed be able to use twm features to have ATK apps start
- iconified. But they will block waiting for the window to be exposed
- when you try to open the first window (with im_Create at some level in
- the code.) This may or may not be the desired behavior.
-
- If can't wait look at around line 3356 in xim.c for:
-
- boolean seenexpose=FALSE;
-
- and replace it with:
-
- boolean seenexpose = !environ_GetProfileSwitch("WaitForExpose", TRUE);
-
- Then if the preference WaitForExpose is set to false the blocking while
- waiting for the exposure will be avoided.
-
- Hope this helps,
- -Rob Ryan
- Andrew Consortium
-