On Mon, Mar 29, 2010 at 4:04 AM, Thomas Adam <tho...@xteddy.org> wrote:
> 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
>
>

You can cancel the action by pressing escape before releasing the mouse button.

-- 
Thanks,

Jonathan Kotta

Hofstadter's Law:
    It always takes longer than you expect, even
    when you take into account Hofstadter's Law.

Reply via email to