Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!samsung!zaphod.mps.ohio-state.edu!ub!boulder!stan!ninja!toml From: toml@ninja.Solbourne.COM (Tom LaStrange) Newsgroups: comp.windows.x Subject: Re: Placing a window under X11R4 Message-ID: <1990Sep18.151812.27971@Solbourne.COM> Date: 18 Sep 90 15:18:12 GMT References: <9009180058.AA22528@Larry.McRCIM.McGill.EDU> Sender: news@Solbourne.COM Reply-To: toml@solbourne.com Organization: Solbourne Computer, Inc. Lines: 26 |> > I am porting an X application from X11R3 to X11R4. One of the |> > problems I am encountering is getting the top-level window to place |> > itself without the help of TWM. |> |> This is entirely up to TWM. If TWM decides that the user shall always |> place new windows, your client really isn't in much position to argue |> about it. Some window managers can be told when to make the user place |> the window; I don't know whether this is true of TWM or not. |> |> In other words, you're trying to do this the wrong place. It's not |> something your client has control over; this is a window manager issue |> and has to be dealt with as such. twm will honor USPosition hints if they are set and will optionally honor PPosition hints. These flags are in the WM_NORMAL_HINTS property of the XSizeHints structure. USPosition should ONLY be set if the user requested the position. PPosition should be used to request a default window position from within the program. -- Tom LaStrange Solbourne Computer Inc. ARPA: toml@Solbourne.COM 1900 Pike Rd. UUCP: ...!{boulder,sun}!stan!toml Longmont, CO 80501