On Thu, 13 Mar 1997 [EMAIL PROTECTED] wrote:

> >  It drifts right horizontally, with no vertical change, for me on both
> >  HP-UX running HP's CDE and Solaris 2.4 running Motif. Generally, 
> >  Motif-style WMs try to impose some "drifting" on you on the theory that 
> >  you don't want apps coming right up on top of each other....
> >   
> >  || Ken Bowen      Applied Logic Systems, Inc.         PO Box 180,     
> >  ||====            Voice:  +1 (617)965-9191            Newton Centre,
> >  ||                FAX:    +1 (617)965-1636            MA  02159  USA
> >                    Email:  [EMAIL PROTECTED]        WWW: http://www.als.com
> 
> Its still confusing, though, why the geometry info repositions right, and why
> the toplevels reposition right when hidden.  My window manager normally tries
> to place toplevels in any large enough empty space, then positions "randomly"
> if that fails.  I'm not sure what its definition of random is though. In any
> case it definately doesn't start cascading windows when it runs out of empty
> space.

 I've had frustrating experiences with Tk and window positioning under
 Linux (which I use for Visual Tcl development). I've found that killing
 ~/.vtclrc and restarting Visual Tcl will sometimes make Tk happy.

 This all arises from the use of "wm geometry" and "winfo geometry"
 which return two different values: one which sometimes causes drift
 and the other which always causes drift.

 -stewart-

Reply via email to