On 27 Feb 2003 12:17:20 +0100, Guido Berhoerster wrote:
>
> I'm currently using FVWM version 2.4.15 and when I use "Maximize
> 90 90" the window is not only maximized but also moved to the top
> left corner (position 0,0) of the screen. I would like the window
> to stay at its current position when it is maximized to 90% of
> the width and height of the current screen. Is there a way to
> circumvent this unwanted repositioning when maximizing?
In 2.4.x or greater use:
Resize bottomright 90 90
In 2.5.x you can do it even better by toggling the maximization flag too:
ResizeMaximize bottomright 90 90
> The FvwmPager manpage states that "in order to maintain an
> undistorted aspect ratio, you might want to leave out either the
> width or height dimension of the geometry specification". I tried
> something like "*FvwmPager: Geometry x64-0+0" in order to get a
> pager with a height of 64 pixels but unfortunately it didn't
> work. Any ideas?
Without taking a look at the code, I see that without Geometry the pager
page (the smallest rectangle) is assumed to be the 1/32 size of the screen.
You may change this constant 32 using DeskTopScale. So when you leave out
one dimension it is taking as if you would not specify the geometry at all.
If my guess is right and you want to get a 4x3 <width>x<height> ratio and
specify only height, you may do the math yourself. With DesktopSize 2x2
and only one desk in a pager and a label font of 10 pixels, the page size
could be 36x27 (4x3 ratio) and the pager geometry would be 73x66-0+0
(73 = 36 * 2 + 1 separator; 66 = 27 * 2 + 1 separator + 11 label).
I don't know whether the current behaviour is what is originally intended.
But I think a good solution to this is to have a new option KeepAspect
that would force the page size to the same aspect ratio as the screen.
Patches to the cvs version are welcome.
Regards,
Mikhael.
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Thu Feb 27 2003 - 07:17:00 GMT