Re: FVWM: Names/explanations of behavior

From: Dominik Vogt <dominik.vogt_at_gmx.de>
Date: Sun, 27 Jan 2002 21:53:52 +0100

On Sun, Jan 27, 2002 at 07:35:14PM +0100, Dominik Vogt wrote:
> On Sun, Jan 27, 2002 at 09:53:54AM -0800, hugo vanwoerkom wrote:
> > 4. Can you AutoHide the MiniButton Bar?
>
> You could also use FvwmEvent to hide
> and show the window when the pointer enters or leaves it:
>
> *FvwmEvent: focus_change "hide_show_buttons"
>
> AddToFunc StartFunction
> + I Module FvwmEvent
>
> AddToFunc hide_show_buttons
> + I Current (FvwmButtons) WindowShade off
> + I Current (!FvwmButtons) All (FvwmButtons) WindowShade on
>
> Style FvwmButtons NoTitle, HandleWidth 1, TitleAtBottom
> Style FvwmButtons MouseFocus
>
> That doesn't work well if you have more than one button bar (you
> could solve that problem with module aliases).
>
> All this assumes that you have at least fvwm-2.4.0.

I just committed a patch to the development sources that improves
the situation a bit. It will be part of the new alpha release
(2.5.0).

  *FvwmEvent: focus_change "hide_show_buttons"

  AddToFunc StartFunction
  + I Module FvwmEvent

  AddToFunc StartFunction
  + I Module FvwmEvent
  
  AddToFunc hide_show_buttons
  + I None (CirculateHit,HasPointer,FvwmButtons) All (FvwmButtons) WindowShade on
  + I PointerWindow (FvwmButtons) WindowShade off
  
  Style FvwmButtons MouseFocus

This still depends on MouseFocus. It would be nice to be able to
use NeverFocus on FvwmButtons, but it doesn't work well with the
enter_window and leave_window events of FvemEvent.

Bye

Dominik ^_^ ^_^

 --
Dominik Vogt, dominik.vogt_at_gmx.de
Reply-To: 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 Jan 27 2002 - 15:05:30 GMT

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