Jeff S. Elam wrote:
[...about windows changing their location from run to run...]
je> I've had similar problems with a database application that I
je> use: Clarify. [...]
je> Clarify stores the location of its windows in the database when
je> you exit, and uses that information to know where to bring up the
je> windows next time. However, I guess it makes incorrect assumptions
je> about the border width or something like that, because the window
je> is always about 6 pixels higher than where it appeared in the
je> last invocation.
je> Maybe Mosaic is doing something similar. Then again, maybe this
je> didn't help at all. :-)
Indeed this seems to be a problem in fvwm (at least in 1.24r).
I've some applications, which store the window locations from previous
invocations in the same manner. Whenever such an application program
creates a window using the x,y-coordinates remembered from the previous
run, the new window is moved right and down about the framewidth
resp. framewidth + titlebar height. This does not happen with mwm,
SGIs 4Dwm or Solaris ol(v)wms.
fvwm seems to use the x,y-coordinates delivered to XCreateWindow for
upper left corner of the frame window and not the pane window as
other window managers happen to do. So the pane window get's
increased x,y coordinates for each new run of the application.
I've looked into fvwm-1.24r/fvwm/placement.c and this behaviour seems to be
intended by the author. There is the following comment line near the
end of the function 'PlaceWindow':
/* put it where asked, mod title bar */
Any idea, how to keep this applications from drifting further into
the south east corner of the screen each time they are invoked ?
Editing 'placement.c' was my first idea, but that has the serious
disadavantage of having to edit all -geometry options in .fvwmrc,
.xinitrc and the like, whenever the framewidth or title bar height
is going to be changed.
Regards, Peter
-=-=-
Peter Funk, Oldenburger Str.86, D-27777 Ganderkesee, Germany
office: +49 421 2041925 (ArtCom GmbH, Grazer Str.8, D-28359 Bremen)
echo '[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq'|dc
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Tue Apr 23 1996 - 18:03:37 BST