Re: FVWM: how to make button unpressed while moving off cursor from it (fwd)

2008-11-06 Thread David Vilar
Forgot to include fvwm@fvwm.org, forwarding...

- Forwarded message from David Vilar [EMAIL PROTECTED] -

From: David Vilar [EMAIL PROTECTED]
Subject: Re: FVWM: how to make button unpressed while moving off cursor
from it
Date: Thu, 6 Nov 2008 10:36:08 +0100
To: for.register for.register [EMAIL PROTECTED]

On Fri, Oct 31, 2008 at 09:24:50PM +0800, for.register for.register wrote:
 Hi,
 
 In fact,  I dont know how to say in in English,  Let me try:
 
 For example , I want to close a window, I press and hold the left mouse
 key on the close button . And now I dont want to close the window
 so, I move off the cursor from the close button, and release the mouse
 key. And I hope the window is still there unclosed. How the configure this?
 
 Thanks in advance.
 
 Walter

I think you are looking for this:

DestroyFunc OnlyIfClick
AddToFunc OnlyIfClick
+ C $*

And then for your button specification something like

Mouse 0 2 A OnlyIfClick Close

Greetings,

David

- End forwarded message -



Re: FVWM: how to make button unpressed while moving off cursor from it (fwd)

2008-11-06 Thread for.register for.register
On Thu, Nov 6, 2008 at 5:40 PM, David Vilar
[EMAIL PROTECTED] wrote:
 Forgot to include fvwm@fvwm.org, forwarding...

 - Forwarded message from David Vilar [EMAIL PROTECTED] -

 From: David Vilar [EMAIL PROTECTED]
 Subject: Re: FVWM: how to make button unpressed while moving off cursor
from it
 Date: Thu, 6 Nov 2008 10:36:08 +0100
 To: for.register for.register [EMAIL PROTECTED]

 On Fri, Oct 31, 2008 at 09:24:50PM +0800, for.register for.register wrote:
 Hi,

 In fact,  I dont know how to say in in English,  Let me try:

 For example , I want to close a window, I press and hold the left mouse
 key on the close button . And now I dont want to close the window
 so, I move off the cursor from the close button, and release the mouse
 key. And I hope the window is still there unclosed. How the configure this?

 Thanks in advance.

 Walter

 I think you are looking for this:

DestroyFunc OnlyIfClick
AddToFunc OnlyIfClick
+ C $*

 And then for your button specification something like

Mouse 0 2 A OnlyIfClick Close

 Greetings,

 David

 - End forwarded message -


Great!

This is exactly what I am looking for.

Thank you David.



Re: FVWM: how to make button unpressed while moving off cursor from it

2008-11-01 Thread for.register for.register
On Fri, Oct 31, 2008 at 9:58 PM, Thomas Adam [EMAIL PROTECTED] wrote:
 2008/10/31 for.register for.register [EMAIL PROTECTED]:
 Hi,

 In fact,  I dont know how to say in in English,  Let me try:

 For example , I want to close a window, I press and hold the left mouse
 key on the close button . And now I dont want to close the window
 so, I move off the cursor from the close button, and release the mouse
 key. And I hope the window is still there unclosed. How the configure this?

 Do you mean:

 Mouse 0 1 A SomeFunction

 DestroyFunc SomeFunction
 AddToFunc   SomeFunction
 + H Close

 -- Thomas Adam



I tried this like :

Mouse   1 1 A   Close-Window

DestroyFunc Close-Window
AddToFunc   Close-Window
+ H Close


But it seems do not work.



FVWM: how to make button unpressed while moving off cursor from it

2008-10-31 Thread for.register for.register
Hi,

In fact,  I dont know how to say in in English,  Let me try:

For example , I want to close a window, I press and hold the left mouse
key on the close button . And now I dont want to close the window
so, I move off the cursor from the close button, and release the mouse
key. And I hope the window is still there unclosed. How the configure this?

Thanks in advance.

Walter



Re: FVWM: how to make button unpressed while moving off cursor from it

2008-10-31 Thread Thomas Adam
2008/10/31 for.register for.register [EMAIL PROTECTED]:
 Hi,

 In fact,  I dont know how to say in in English,  Let me try:

 For example , I want to close a window, I press and hold the left mouse
 key on the close button . And now I dont want to close the window
 so, I move off the cursor from the close button, and release the mouse
 key. And I hope the window is still there unclosed. How the configure this?

Do you mean:

Mouse 0 1 A SomeFunction

DestroyFunc SomeFunction
AddToFunc   SomeFunction
+ H Close

-- Thomas Adam