Re: FVWM: Maximum Window Size

From: Olivier Chapuis <olivier.chapuis_at_free.fr>
Date: Tue, 3 Jul 2001 13:35:45 +0200

On Tue, Jul 03, 2001 at 09:24:31AM +0000, Mikhael Goikhman wrote:
>
> > 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.
>

Yes, you can do something like that

*FvwmNetHints: MyStrut left right top bottom

Where left, right, top and bottom are positive or
null integer (pixels) which defined 4 bands:

One on the left of your screen of width left
One on the right of your screen of width right
One on the top of your screen of height top
One on the bottom of your screen of height bottom

Then, if you replace the fvwm Maximize command by the FvwmNetHints
one (SendToModule FvwmNetHints Maximize [options]), when you maximize
it is assumed that your screen is your real screen minus the 4 bands,
the so called "Working Area".

You may also use the experimental option:

*FvwmNetHints: UseWorkingAreaPlacement True

which causes new windows to be placed again to respect
the "Working Area" (you should not use any manual placement).

Olivier

PS: Wait 24 hours before performing any fvwm-ewmh download,
version 0.3 is on the road :o)
--
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 - 09:20:32 BST

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