Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!ub!boulder!stan!ninja!toml From: toml@ninja.Solbourne.COM (Tom LaStrange) Newsgroups: comp.windows.x Subject: Re: tvtwm and -geometry -0-0 Message-ID: <1990Sep10.191036.27087@Solbourne.COM> Date: 10 Sep 90 19:10:36 GMT References: <1990Sep10.103722@sasha.acc.Virginia.EDU> Sender: news@Solbourne.COM Reply-To: toml@solbourne.com Organization: Solbourne Computer, Inc. Lines: 29 |> I have noticed that tvtwm places a window in an unexpected place when |> using the geometry spec "-0-0", for example. The window is always placed |> in the lower right corner of the "home" position of the viewer. This |> happens regardless of the virtual desktop size and the actual position of |> the viewer. I suspect that "-0-0" is being offset from the physical size |> of the display rather than the size of the virtual desktop. |> |> By the time that tvtwm gets the geometry spec, has the "-0-0" already been |> translated to the actual coordinates or does tvtwm itself interpret |> "-0-0"? If the latter, I suspect this is a bug in tvtwm. I would expect |> "-0-0" to place the window in the lower right corner of the virtual |> desktop. You got it. By the time the window manager gets it, the coordinates have been converted into positive coordinates. There are however, some hints also given to the window manager about which corner/side the coordinates were specified relative to. These hints will only show up in R4 clients. Also, the fact that you specified a geometry means that USPosition hints are also going to be set (assuming an Xt based client) which tvtwm takes to mean place the window at this absolute pixel location. I'm not sure I want to get into trying to figure out what a user migh have wanted. -- Tom LaStrange Solbourne Computer Inc. ARPA: toml@Solbourne.COM 1900 Pike Rd. UUCP: ...!{boulder,sun}!stan!toml Longmont, CO 80501