On Thu, Nov 12, 1998 at 03:09:48PM +0000, Tim Phipps wrote:
> FlipFocus is meant to be used only in conjunction with Prev. e.g.
> + "I" Prev [CurrentDesk !Iconic] FlipFocus
> For what you are doing you may as well use Focus here. FlipFocus is a
> way of changing the order of the windowlist so that Prev [] FlipFocus,
> Prev [] FlipFocus toggles back and forth between two windows.
Thanks. I'm not sure I understand it, but it does work better (the
focussing is correct now). Is there a good explanation somewhere about
the windowlist and how the focussing of windows is influenced by the
various commands?
> This is where None comes into its own:
>
> # function to toggle iconic state of Mutt window
> AddToFunc ToggleMail "I" Next [Mutt !Iconic] HideMutt
> + "I" None [Mutt !Iconic] ShowMutt
This still doesn't work. It does pop up the window (or indeed start it
if it's not there yet) but instead of hiding it, it will hide it and
then pop it up again. Seems like the first line changes the windowlist
so that the second one is always executed.
So I'm still stuck with two keys:
AddToFunc StartMutt "I" Exec rxvt -geometry 80x55+450+50 -font Screen16 -title Mutt -n Mutt -e mutt
AddToFunc ShowMutt "I" Next [Mutt] Iconify -1
+ "I" None [Mutt] StartMutt
+ "I" None [Mutt] Wait Mutt
+ "I" Next [Mutt] Focus
AddToFunc HideWindow "I" Iconify 1
+ "I" Prev [CurrentDesk !Iconic] Focus
AddToFunc HideMutt "I" Current [Mutt !Iconic] HideWindow
key m A MC ShowMutt
key n A MC HideMutt
Thanks!,
-Ives
______________________________________________________________________
Ives Aerts (R&D Software engineer) Sony DNSE-Brussels
Ives.Aerts_at_sonycom.com St.Stevens Woluwestr. 55
`You can't expect to wield supreme executive B-1130 Brussels, Belgium
power just 'cause some watery tart threw a PHONE : +32 2 724 86 11
sword at you!' (M.Python - The Holy Grail) FAX : +32 2 724 86 88
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Thu Nov 12 1998 - 10:40:19 GMT