On Mon, Apr 14, 2003 at 05:16:23PM +0200, fvwm wrote:
> On Mon, Apr 14, 2003 at 02:56:22PM +0000, Mikhael Goikhman wrote:
> > On 14 Apr 2003 15:34:07 +0200, Uwe Pross wrote:
> [snip]
> > > You may also use the "EdgeCommand" in version 2.5.x to execute a
> > > function or command if the mouse hits the edge of the screen:
> [snip]
> > The disadvantage that makes this setup useless is that a user normally
> > wants that all special modules, like FvwmButtons, FvwmTaskBar, FvwmPager
> > are not focusable. I.e. these modules should normally be NeverFocus,
> > not ClickToFocus.
> [snip]
> 
> Below is the new and official, race condition free, resource
> friendly, configurable and extensible

... and buggy ...  Should not have modified the config before
posting.  I'll post an update later.

> way for autohiding.  I will
> polish it a bit and put it in the FAQ.  This works with the latest
> CVS code only:
> 
>   AddToFunc autohide_handler
>   + I hide_or_show $0 FvwmButtons 500 W
>   #                   ^           ^   ^
>   #                   |           |   |___  Shade direction (optional)
>   #                   |           |_______  Hide delay
>   #                   |___________________  Unique window name/resource
> 
>   AddToFunc hide_or_show
>   + I WindowId $0 ($1) Deschedule $0
>   + I WindowId $0 ($1) ThisWindow (shaded) WindowShade $i3 off
>   + I CondCase (!Match) All (!shaded, $1) Schedule $2 $$$$$$$$w WindowShade 
> $3 on
> 
>   AddToFunc StartFunction
>   + I Module FvwmAuto FvwmAutohide -passid -menter autohide_handler

Bye

Dominik ^_^  ^_^
--
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 [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to