Re: FVWM: Maximum Window Size

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Tue, 3 Jul 2001 09:24:31 +0000

On 03 Jul 2001 06:49:24 +0200, Sergio Nasi wrote:
>
> Here I am again,
> I found out about the problem I wrote about below that fvwm provides a
> Style command named "MaxWindowSize" that could do the job.
> I'm using fvwm 2.2.5 and the parser gives me a "Bad Style parameter" error
> when I use it in my .fvwmrc file like this:
> Style "*" MaxWindowSize 800 500
> (even tried 800p 500p).
>
> Any hints?

Style option MaxWindowSize was added in 2.3.3, it is not available in
2.2.5.

> On Sun, Jul 01, 2001 at 06:42:26PM +0200, Sergio Nasi wrote:
> > Hello together,
> > I'm new to this pretty intriguing WM.
> >
> > I'm tinkering with the configuration file and I have a question for you:
> > I configured FvwmButton region at the top of the screen having the
> > StaysOnTop property and I'd like to have all the windows use only the
> > region of the screen not covered by the FvwmButtons module.
> >
> > Now, if I maximize the windows, the title bar falls under the button region
> > and it is unaccessible, so that I always have to move each window down and
> > resize it.
> >
> > Is there a way to specify a Style for this? Or using the X resources is the
> > only solution?

You may use (don't forget 'p' if you want size in pixels):

  Style "*" MaxWindowSize 800p 500p

But this does not prevent any window to overlap FvwmButtons.
Or another (almost the same) solution is to give parameters to Maximize:

  Maximize 800p 500p

Since your FvwmButtons is at the top, there is no acceptable solution for
you in the latest version. If it was at the bottom, the solutions with
limitting a size above would be ok for you.

You may highly reduce chances of overlapping by having your FvwmButtons
some layers up:

  Style FvwmButtons StaysOnTop
  Style "*" MinOverlapPlacement

I think fvwm-ewmh patch at http://fvwm-ewmh.sourcefourge.net/ enables to
define a working area, something that you want, but I don't know for sure.

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 Tue Jul 03 2001 - 04:25:23 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:51 BST