Re: FVWM: StaysOnBottom / RaiseLower problem

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Mon, 11 Feb 2002 13:55:20 +0000

On 11 Feb 2002 13:31:16 +0100, Andre Bonhote wrote:
>
> I have a problem with some of my transparent aterm-windows. I'd like
> them to stick on the root window like e.g. root-tail does. They should
> NEVER be raised over other windows. That's what I do after creating
> windows named "logwindow":
>
> Style "logwindow" StaysOnBottom, NoTitle, Sticky, NoHandles, HandleWidth
> 0, WindowListSkip, CirculateSkip, BorderWidth 0
>
> Well, this should work, right? But on my Tab key I have this:
>
> Key Tab A C WindowId $w RaiseLower

This is not directly related, but where did you find such example? :)

Let see what happens. First of all, $w is expanded when Key command is
parsed and it is expanded to dollar-w, since there is most certainly no
active window. If it would, i.e. suppose we issue the Key command in a
window context, like "Next (XCalc) Key Tab A C WindowId $w RaiseLower",
Ctrl-Tab would always raise/lower our existing calculator window only.

But there is no window context at Key, so the command bound to Ctrl-Tab
is "WindowId some-non-existing-id RaiseLower", which is equivalent to
simply "RaiseLower".

But even if you would properly escape this command, i.e.:

  Key Tab A C WindowId $$w RaiseLower

still "WindowId $w RaiseLower" (after Key expansion) is fully equivalent
to "RaiseLower". No matter there is window context or no.

So, I suggest to remove the confusing "WindowId $w" from this line.
The only justified usage of WindowId here would be something like this:

  Key Tab A C WindowId $$w (!aterm) RaiseLower

> And this raises these windows again.
>
> They [don't] appear on the pager or in the windowlist, that's ok.

It should appear in the pager. But not in WindowList (WindowListSkip).
Probably your aterm windows don't match "logwindow" pattern?

> What can I do? Didn't find a solution in the manpage ...

Windows with StaysOnBottom should not be raised over normal windows.
This works correctly in stable versions.

But, I just tested, all layer-related style options (StaysOn..., Layer)
are ignored in 2.5.x. It is an alpha/beta code.

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 Mon Feb 11 2002 - 07:55:56 GMT

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