On 15 May 2002 14:10:44 -0400, Victor Eijkhout wrote:
> 
> > > Mouse 0 T N MoveOrRaiseOrShade
> > > AddToFunc MoveOrRaiseOrShade
> > > + C Raise
> > > + H Move
> > > + D WindowShade
> 
> > AddToFunc MoveOrRaiseOrShade
> > + M Move
> 
> Interesting. That works, and is actually conceptually better. So what 
> would be a legit application for click-hold?

Granted, usually you should just duplicate "H" and "M" lines, but you may
for example give different Maximize parameters on them. Another usage is
to do something on click and cancel the click action by specifying Nop on
"M" or/and "H". I.e. if you clicked by a mistake, you may just hold the
button or drag it to cancel the action.

  DestroyFunc MyMaximize
  AddToFunc   MyMaximize
  + M Nop
  + H Maximize 0 95   
  + C Maximize 100 95
  + D Maximize 100 100

  DestroyFunc MyMoveOrDeleteOrDestroy
  AddToFunc   MyMoveOrDeleteOrDestroy
  + M Move
  + H Nop    
  + C Delete 
  + D Destroy

Also, you get a different feel on all these cases ("D" is like "C"):

  "M" specified
  "H" specified
  "C" specified
  "M" and "C" specified
  "H" and "C" specified
  "M" and "H" specified
  "M", "H" and "C" specified

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