On Mon, Jun 12, 2006 at 04:20:47PM +0300, Andrei Popov wrote:
> Hello All.
> 
> In Windows, when I click a titlebar button (such as Close, Maximize,
> Minimize), the respective action is performed only when the mouse is
> actually released AND the pointer is still over that titlebar button.
> 
> I.e. if I click "Close" but then decide not to close the window, I can
> move the mouse away, then release it, and no action will be performed.
> 
> In my FVWM, the action is performed regardless. I.e. I click "Close",
> manage to hold down the mouse because I decide I don't wanna close the
> app after all, but it WILL be closed as soon as I release the mouse.
> 
> Is it possible to achieve Windows-like behavior in FVWM, as described
> above?

You want the "C" option when defining a function. I use this
wrapper, for example

DestroyFunc OnlyIfClick
AddToFunc OnlyIfClick
+ "C" $*

Greetings,

David

-- 
David Vilar Torres                      RWTH Aachen
Tel: (+49) 241 80 21611                 Lehrstuhl f. Informatik VI
Fax: (+49) 241 80 22219                 Ahornstr. 55
[EMAIL PROTECTED]               D-52056 Aachen (Germany)

Reply via email to