On 15 Apr 2003 22:41:57 +1000, Dennis McGregor wrote:
> 
> I've exhausted myself on this one and I wonder if someone can point me in the 
> right direction...
> 
> I use SloppyFocus, and I'm prone to zapping FvwmIconMan with my iconify key 
> combo. 
> I'd very much like to know how I can write this function so that it won't 
> iconify 
> FvwmIconMan if I happen to be above it when I do the key combo.
> 
> I iconify windows by doing:
> 
> Key Down  A CS  Function shade-iconify
> 
> I've tried PointerWindow, WindowId... All-ways, IconMan still zipps off to 
> the 
> corner.
> This is the func's current state: 
> 
> DestroyFunc shade-iconify
> AddToFunc   shade-iconify
>  + "I" Current (FvwmIconMan) Break

This works fine for me with FvwmIconMan MouseFocus.
The first thing I thought is to suggest you:

  + I Current (FvwmIconMan, CirculateHit) Break

But this is not needed for such conditions as Current, Pick, ThisWindow.
Anyway, to be consistent with the rest of the function (that does not use
Current), you would better use Pick here (or ThisWindow):

  + I Pick (FvwmIconMan) Break

>  + "I" Cond (1) Echo "Still here"

Well, this is never executed unless Break is broken.

>  + "I" WarpToWindow 50 -0
>  + "I" WindowShade $0 $[mydirection]   # gratuitous, but so purrty ;)
>  + "I" Iconify
> 
> fvwm --version
> fvwm 2.5.6 (from cvs) compiled on Dec 19 2002 at 11:55:02

Try the latest cvs just to be sure.
Ah, yes, sure. Break was fixed on 2003-02-21.

Regards,
Mikhael.
--
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 [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to