OK guys,
I have this config:
----[ ~/.fvwm/Functions/AutoHide.conf ]---------------------------------
DestroyFunc autohide
AddToFunc autohide
+ I ThisWindow ("$0") Deschedule $[w.id]
+ I ThisWindow ("$0") ThisWindow (Shaded) WindowShade off
+ I TestRc (!Match) All ("$0", !Shaded) autohide_hide $1 $2
DestroyFunc autohide_hide
AddToFunc autohide_hide
+ I Schedule $0 $[w.id] WindowShade $1
+ I Schedule $0 $[w.id] Deschedule $[w.id]
AddToFunc StartFunction
+ I Module FvwmAuto FvwmAutohide -menter enter_handler
DestroyFunc enter_handler
AddToFunc enter_handler
+ I autohide FvwmTaskbarPanel 500 S
------------------------------------------------------------------------
and the result is a strange behaviour:
1) The "FvwmTaskbarPanel" is only shown, if I was on "FvwmTaskbar" and
move a little bit up.
From the manpage:
In -menter mode, FvwmAuto raises the window under the
pointer when the pointer enters a window.
In my case, it should act, if I enter "FvwmTaskbar" and then
unhide "FvwmTaskbarPanel". It seems, I have to modify something
because the above 4 functions are universal. I think, in the
case of "FvwmTaskbar" I have to write them explicit for it.
Now it looks like:
----[ ~/.fvwm/Functions/AutoHide.conf ]---------------------------------
DestroyFunc FvwmTaskbarAutohide
AddToFunc FvwmTaskbarAutohide
+ I ThisWindow ("FvwmTaskbarPanel") Deschedule $[w.id]
+ I ThisWindow ("FvwmTaskbarPanel") ThisWindow (Shaded) WindowShade off
+ I TestRc (!Match) All ("FvwmTaskbarPanel", !Shaded)
FvwmTaskbarAutohide_hide 500 S
DestroyFunc FvwmTaskbarAutohide_hide
AddToFunc FvwmTaskbarAutohide_hide
+ I Schedule $0 $[w.id] WindowShade $1500
+ I Schedule $0 $[w.id] Deschedule $[w.id]
AddToFunc StartFunction
+ I Module FvwmAuto FvwmAutohide -menter FvwmTaskbarAutohide
------------------------------------------------------------------------
...and it works the same way as before!
2) Sometimes, the "FvwmTaskbarPanel" hide, even the pointer is on focus.
Thanks in advance
--
Michelle Konzack Miila ITSystems @ TDnet
GNU/Linux Developer 00372-54541400