Re: FVWM: Setting dynamic working area

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Sun, 26 Oct 2003 17:16:58 +0000

On 26 Oct 2003 14:18:49 -0200, romildo_at_uber.com.br wrote:
>
> On Sun, Oct 26, 2003 at 11:30:36AM +0000, Mikhael Goikhman wrote:
> > On 26 Oct 2003 09:10:56 -0200, romildo_at_uber.com.br wrote:
> > >
> > > When using fbpanel (a light-weight desktop panel)
> > > with FVWM, I want to restrict the working area to
> > > the full visible screen except for the screen area
> > > used by fbpanel, which is placed at the bottom and
> > > has a height of 26 pixels.
> [...]
> > > but it is not working. Placement and maximation of
> > > windows is not respecting the working area set
> > > with the command EwmhBaseStruts.
> >
> > Using EwmhBaseStruts. Works in 2.5.5+. Maybe it does not work for you on
> > restarts because you placed it in InitFunction instead StartFunction?
>
> I am running FVWM 2.5.7 and I am still having problems with windows
> covering the fbpanel window, even with the EwmhBaseStruts command.
>
> The command I use for maximizing windows is 'Maximize layer grow grow'.
> As I said, maximized windows are getting beyound the working area.

>From documentation:

        layer causes the various grow methods to ignore the
        windows with a layer less than or equal to the layer on the
        window which is maximized.

So it works as expected (kind of). It is possible that it was not
intended for "layer" option to imply "ewmhiwa" option too.

Anyway, use "Maximize grow grow" or change the panel layer to do what you
want.

> New windows may get placed beyound the working area too, when the
> screen has few empty areas. The placement style I am using is
> "MinOverlapPlacement". I want no window over the fbpanel window.

These are only hints. What to do with windows larger than the screen
size; one or another strut should be compromized.

> I have tried setting the layer for fbpanel, but it did not worked.
> I have the command "Style "fbpanel" StaysOnTop" in my configuration
> file, but fbpanel is still put in layer 4:
>
> $ xprop | grep -i layer
> _WIN_LAYER(CARDINAL) = 4

Dominik changed the behaviour of StaysOnTop and other similar Style
options. It now works for new windows only. For existing windows use:

  All (fbpanel) Layer 0 6

I think it was intended.

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 Sun Oct 26 2003 - 11:19:30 GMT

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