Re: FVWM: autohide from FAQ works differently from 2.5.10 to 2.5.12

From: Dominik Vogt <fvwm_at_fvwm.org>
Date: Sun, 10 Oct 2004 16:58:05 +0200

On Fri, Oct 08, 2004 at 10:26:46AM -0700, Scott wrote:
> I recently upgraded from 2.5.10 to 2.5.12. My config file has been
> using a copy and paste of the FAQ's autohide setup (7.17) since 2.5.8.
>
> Prior to my move to 2.5.12, if I kept the mouse pointer on an item that
> had been "unhidden", that item would remain unhidden until I moved the
> mouse pointer off of that item.
>
> Now with my move to 2.5.12, keeping the mouse pointer on the unhidden
> item will not keep that item unhidden. In this state, that item will
> remain unhidden per the 'hide delay' millisecond value in the config
> file. But, if the mouse pointer is quickly moved to the root window
> the unhidden item will remain unhidden until I move the mouse pointer
> off of the root window.
>
> Since I have the pager (via a FvwmButtons swallow) autohidden, this new
> scenario makes moving windows around in the pager a bit difficult. I
> could increase the hide delay value, but that would kind of defeat the
> purpose of autohiding.
>
> I was surprised to not see this already covered on the mailing list.
> Perhaps autohiding your pager is not as common as I thought it would
> be.
>
> Any ideas on how to get my prior behavior back would be very much
> appreciated.

You are right. A bug fix in the return code handling of
conditional commands breaks the code from the FAQ. You have to
replace

 + I ThisWindow ($0) ThisWindow (shaded) WindowShade off

with

 + I ThisWindow ($0) KeepRc ThisWindow (shaded) WindowShade off
                     ^^^^^^

to make it work again. It's the same in the second version of the
function. Add "KeepRc" before the nested call to ThisWindow.

Ciao

Dominik ^_^ ^_^

 --
Dominik Vogt, dominik.vogt_at_gmx.de


--
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 10 2004 - 09:53:20 BST

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