FVWM: Abort from function?

From: Victor Eijkhout <eijkhout_at_cs.utk.edu>
Date: Wed, 24 Jul 2002 17:16:14 -0400

I want a function that will "windowshade rollup and lower window" or
"windowshade unroll and raise window". The following:

Mouse 0 T N MoveOrRaiseOrShade
AddToFunc MoveOrRaiseOrShade
+ C Raise
+ M Move
+ D Current (Shaded) ShadeAndRaise
+ D Current (!Shaded) ShadeAndAway

has a cute bug: if a window is shaded, both last lines are executed.

So I was wondering, is there an Abort function so that I can write

AddToFunc ShadeAndRaise
+ I WindowShade
+ I Raise
+ I Abort

Other solutions welcome too.

-- 
Victor Eijkhout <eijkhout_at_cs.utk.edu>
tel: 865 974 9308 (W), 865 673 6998 (H), 865 974 8296 (F)
http://www.cs.utk.edu/~eijkhout/
--
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 Wed Jul 24 2002 - 16:17:03 BST

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