Re: FVWM: Re: MouseOver/Focus event handler?

From: Brad Giaccio <bgiaccio_at_psrw.com>
Date: Wed, 15 Dec 1999 14:25:39 -0500

On Wed, Dec 15, 1999 at 10:55:53AM -0800, Nadim Saeed wrote:
> > *FvwmEventPassId
> > *FvwmEvent focus_change my_focusevent
> >
> > DestroyFunc my_focusevent
> > AddToFunc my_focusevent I WindowId $0 (!FvwmIconMan) AnimatedMove -1150p 0p
> > + I WindowId $0 (FvwmIconMan) AnimatedMove 0 0
> >
> > AddToFunc StartFunction I FvwmEvent
> >
>
> This is beginning to sound very much like an AutoHide command. Could someone
> familiar enough with the code use the underlying ability noted above and
> simply its specification and possibly create a true "autohide" command/style ?
>
> It was be ideal to see something along the lines of,
>
> Style "Fvwm*" AutoHide
>
> BTW: this very much relates to PR#466 in the enhancements branch of FVWM's bug
> tracker.
>

This is untested but if we the function was changed to
AddToFunc my_focusevent I WindowId $0 (!$1) AnimatedMove -1150p 0p
+ I WindowId $0 ($1) AnimatedMove 0 0

and
*FvwmEvent focus_change my_focusevent FvwmIconMan

You would have a generic function that could autohide any whindow.

Brad
 
-- 
--- There are two kinds of knowledge, you either know the answer or
			you know where to find it
		      -Kane, Johnson, and anonymous
--
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 Wed Dec 15 1999 - 13:26:32 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:02 BST