Re: FVWM: Setting dynamic working area

From: <romildo_at_uber.com.br>
Date: Sun, 26 Oct 2003 17:28:01 -0200

On Sun, Oct 26, 2003 at 06:58:11PM +0000, Mikhael Goikhman wrote:
> On 26 Oct 2003 16:44:05 -0200, romildo_at_uber.com.br wrote:
> >
> > > > 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:
> > >
> > > 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 do not undestand this. In my FVWM configuration I have:
> >
> > #-----------------------------------------------------
> > AddToFunc StartFunction
> > + I None (fbpanel, CirculateHit) Exec fbpanel
> > + I None (fbpanel, CirculateHit) Wait fbpanel
> > + I EwmhBaseStruts 0 0 0 32
> >
> > Style "fbpanel" StaysOnTop
> > #-----------------------------------------------------
> >
> > Isn't the Style command executed before the Exec
> > command? That is, when the fbpanel command is
> > executed, the Style command has alread been
> > executed (fbpanel is called after FVWM initializion,
> > since it is called in StartFunction). Then it should
> > be a new window and it should be put in the
> > top layer. What is wrong in this reasoning?
>
> Nothing is wrong here, if you issue the Style command in .fvwm2rc
> and not in FvwmConsole, then it should work.
>
> It is possible that fbpanel puts itself on layer 4 using GNOME or EWMH
> hints.

The Style command is issued in .fvwm2rc, but fbpanel puts itself
on layer 4.

"All (fbpanel) Layer 0 6" in the StartFunction works (fbpanel
is put in layer 6).

> Does "Layer +1" command work on fbpanel?

This works.

> If no, try to add some Ignore hint option to Style fbpanel to disallow
> fbpanel to put itself on a different layer. It is also possible fbpanel
> has a GUI dialog to set its layer, I am not familar with fbpanel,
> but I know the GNOME panel has it.

I have tried

   Stye "fbpanel" EWMHIgnoreStackingOrderHints, StaysOnTop

but fbpanel still puts itself on layer 4.

Romildo
--
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 - 13:29:53 GMT

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