[comp.windows.x] Positioning windows under TWM

ceg@nova.stanford.edu (Chris Gronbeck) (07/03/90)

I want to position a window in a particular place, and my program does
this for every window manager I have tried except for twm, which always
makes the user position the window manually.  Is there a quick fix for this?

Thanks.

Christopher Gronbeck  ceg@nova.stanford.edu

toml@ninja.Solbourne.COM (Tom LaStrange) (07/04/90)

|> I want to position a window in a particular place, and my program does
|> this for every window manager I have tried except for twm, which always
|> makes the user position the window manually.  Is there a quick fix for this?

There are two types of hints to the window manager that can affect window
placement:  User Specified Position (USPosition) and Program specified
Position (PPosition).  Pre-R4 window managers mostly ignored PPosition
but the R4 twm has an of option to control how PPosition is handled.
Look at the variable UsePPosition in the twm man page.  USPosition should
ONLY be used if the user requested the window to be positioned at some
location.

--
Tom LaStrange

Solbourne Computer Inc.    ARPA: toml@Solbourne.COM
1900 Pike Rd.              UUCP: ...!{boulder,sun}!stan!toml
Longmont, CO  80501

card@masi.ibp.fr (Remy CARD) (07/04/90)

In article <1990Jul2.192604.24703@portia.Stanford.EDU>,
ceg@nova.stanford.edu (Chris Gronbeck) writes:
|>
|>I want to position a window in a particular place, and my program does
|>this for every window manager I have tried except for twm, which always
|>makes the user position the window manually.  Is there a quick fix for this?
|>

        
	If you set the variable RandomPlacement in your .twmrc
file, TWM will not make you position the window manually.

 
+-----------------------------------o--------------------------------------+
| Remy CARD                         | E-mail : card@masi.ibp.fr            |
| Universite Pierre et Marie Curie  |                                      |
| Laboratoire MASI, CNRS UA 818     |                                      |
| 4 Place Jussieu                   | Tel : +33 (1) 43.36.25.25 ext. 43.63 |
| F-75252 PARIS CEDEX 05            | Fax : +33 (1) 46.34.19.27            |
| FRANCE                            | Telex : UPMCSIX 200-145 F            |
+-----------------------------------o--------------------------------------+