FVWM: TestRc and function modifiers

From: Uwe Pross <keinfruestuecksfleisch_at_gmx.net>
Date: Mon, 1 Mar 2004 21:52:08 +0100

Hi there,

I have got the following mouse binding:

  Mouse 1 T A Function MoveOrRaiseOrLowerFunc

If I define MoveOrRaiseOrLowerFunc as

  DestroyFunc MoveOrRaiseOrLowerFunc
  AddToFunc MoveOrRaiseOrLowerFunc
  + I ThisWindow (!Raised) Raise
  + C TestRc (NoMatch) Lower
  + M Move
  + D Maximize 100 100

or

  DestroyFunc MoveOrRaiseOrLowerFunc
  AddToFunc MoveOrRaiseOrLowerFunc
  + I Current (!Raised) Raise
  + C TestRc (NoMatch) Lower
  + M Move
  + D Maximize 100 100

the window can only be moved/maximized if it was raised.

The definiton

  DestroyFunc MoveOrRaiseOrLowerFunc
  AddToFunc MoveOrRaiseOrLowerFunc
  + C ThisWindow (!Raised) Raise
  + C TestRc (NoMatch) Lower
  + M Move
  + D Maximize 100 100

works as expected but raising/lowering is a bit delayed and
the window may be moved or maximized and the window is
lowered.

Any hints how to achieve the desired behaviour?

Thanks in advance.

Cheers, Uwe
-- 
  ,_,   For personal reply/mail put "fvwm"
 (O,O)  in the subject.
 (   )  Otherwise I won't receive your mail.
--"-"----------------------------------------
--
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 Mon Mar 01 2004 - 14:55:01 GMT

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