"Richard Levitte via RT" on wrote...
| [EMAIL PROTECTED] - Tue Apr 19 11:48:48 2005]:
| > On Tue, Apr 19, 2005 at 11:28:58AM +0200 I heard the voice of
| > Richard Levitte via RT, and lo! it spake thus:
| > > [EMAIL PROTECTED] - Tue Apr 19 08:37:01 2005]:
| > > >
| > > > Well, speaking purely for myself, I *LIKE* the predictable placement.
| > >
| > > Do you actually get that behavior with 3.7a6? Anthony's complaint
| > > is that two xterms in a row will have them at the exact same spot.
| >
| > I just fired up 8 terms in a row ("xterm & ; xterm & ; <etc>") and
| > they cascaded normally. I s'pose there could be a race condition in
| > the timing somewhere that my machine isn't fast enough to hit, but
| > I've never seen it happen, even when popping up 20 or 30 cities at a
| > time in Freeciv.
| >
| > I think Anthony just abused ctwm in a previous life, and it's taking
| > revenge now 8-}
|
| I think you're being too hard on Anthony, especially because I found
| out what's happening. If you have RandomPlacement and DontMoveOff in
| your .ctwmrc, you will see a similar behavior.
|
| Basically, I'd say that the code to handle DontMoveOff in AddWindow
| (add_window.c) is completely and utterly bogus. For any window that's
| much smaller than the screen, the placement will be +50+50, period.
| That's astonishingly wacked. I do recall fiddling with that code, so
| I'm probably the one to blame as well...
|
| /Richard
Richard is absolutely right. If I comment out DontMoveOff, windows
are again placed +50+30 from the previously positioned window.
I'll leave it commented out for the time being. Though I still like
better placement controls for RandomPlacement.
Perhaps an optional argument of some sort, to define the relative
placement.
PS: I applogies for my tardiness in response times, but I am on a
vacation.
Anthony Thyssen ( System Programmer ) <[EMAIL PROTECTED]>
-----------------------------------------------------------------------------
A truly good DM uses a good eraser and spells of amnesia.
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/