Re: FVWM: Building a decent Panel?

From: Dominik Vogt <fvwm_at_fvwm.org>
Date: Mon, 14 Apr 2003 17:50:11 +0200

On Mon, Apr 14, 2003 at 05:41:41PM +0200, fvwm wrote:
> 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:

Fixed version:

  AddToFunc enter_handler
  + I autohide $0 FvwmButtons 500 SW
  # ^ ^ ^
  # | | |___ Shade direction (optional)
  # | |_______ Hide delay
  # |___________________ Unique window name/resource

  AddToFunc autohide
  + I WindowId $0 ($1) Deschedule $0
  + I WindowId $0 ($1) ThisWindow (shaded) WindowShade off
  + I CondCase (!Match) All (!shaded, $1) autohide_hide $$$$$$$w $2 $3

  AddToFunc autohide_hide
  + I Deschedule $0
  + I Schedule $1 $0 WindowShade $2

  AddToFunc StartFunction
  + I Module FvwmAuto FvwmAutohide -passid -menter enter_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 majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Mon Apr 14 2003 - 10:49:44 BST

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