Re: FVWM: Focus problem / Mail hotkey

From: Sam Krishnabhat <samk_at_cisco.com>
Date: Thu, 12 Nov 1998 13:05:11 -0800 (PST)

Tim Phipps sez...
>
> FlipFocus is meant to be used only in conjunction with Prev. e.g.
> + "I" Prev [CurrentDesk !Iconic] FlipFocus

Is this related to the following command in 'AddToFunc "InitFunction" "I"'
function or works in conjuction with that. Can anybody explain ?

+ "I" Next [!iconic CurrentScreen xterm] Focus

-sam

> 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.
>
> > - Would it be possible to write a smarter function which combines the
> > functionality of these two functions? That way I could have on
> > hotkey which toggles between the current window and the mail window.
>
> 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
> # function to iconify Mutt
> AddToFunc HideMutt "I" Iconify
> + "I" Prev [CurrentDesk !Iconic] Focus
> # function to de-iconify or start Mutt
> AddToFunc ShowMutt "I" Next [Mutt] Iconify
> + "I" None [Mutt] Exec mutt
> + "I" None [Mutt] Wait Mutt
> + "I" Next [Mutt] Focus
>
> Hope this helps,
> Tim.
> --
> 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.
>

--
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 - 15:06:28 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:01 BST