On 29 March 2010 09:47, JUNG, Christian <christian.j...@saarstahl.com> wrote:
> I've tried to use a function like that:
>
> DestroyFunc CloseWindow
> AddToFunc CloseWindow
>    + C Close
>
> Mouse 1 2 A Function CloseWindow
>
> But this does not work exactly the way I would like to.
>
> I do not know if this is maybe a bug, but shouldn't the
> function be triggered only if the mouse pointer is over
> the button and the mouse key depressed? On buttons (e.g.
> FvwmForms) this works as I'd like.
>
> Does anyone has a solution for this?

The pointer is grabbed at the time the function is invoked, and as
such the action would apply regardless.  FVWM has no way of knowing
where the mouse is to correctly invoke the function as you're wanting
it.

-- Thomas Adam

Reply via email to