Re: FVWM: TestRc and function modifiers

From: Dominik Vogt <fvwm_at_fvwm.org>
Date: Tue, 2 Mar 2004 11:31:41 +0100

On Mon, Mar 01, 2004 at 09:52:08PM +0100, Uwe Pross wrote:
> 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?

It's a bug. I can fix that particular problem, but it may be much
more widespread.

Ciao

Dominik ^_^ ^_^
--
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 Tue Mar 02 2004 - 04:33:59 GMT

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