Re: FVWM: new behaviour in fvwm-cvs with mouse button actions ...

From: Dominik Vogt <fvwm_at_fvwm.org>
Date: Wed, 16 Apr 2003 09:07:50 +0200

On Wed, Apr 16, 2003 at 02:09:40PM +1000, Cameron Simpson wrote:
> On 23:44 15 Apr 2003, Ben Winslow <rain_at_bluecherry.net> wrote:
> | On Tue, 2003-04-15 at 23:26, Cameron Simpson wrote:
> | > I just moved to fvwm CVS of 2003-04-16 from fvwm-2.5.6.
> | > I have Alt-Right-Button bound to Move in a window context:
> | > Mouse 3 W M Move
> | >
> | > This used to apply on button-down, so I could go Alt-M3-drag and slide my
> | > windows around. Not is applies on button-up, which is much less pleasant.
> | >
> | > Can I exert control over which transition counts?
> | > The manual doesn't suggest so to me, but perhaps I've missed something.
> |
> | I encountered the same thing--the explination is basically that having
> | Move work this way from the mouse binding is actually a bug, and the
> | proper way to do it is from a function using "I" (immediate.) Search
> | the message subjects for "'Move' only happens on mouse release" for the
> | thread where I asked about it.
> |
> | I wrote a short awk script to automatically fix an fvwm2rc for the
> | lazy. It's attached to the thread I mentioned, but if you can't find
> | that I've also put it at http://themuffin.net/fvwm-mousecmd-convert.awk
>
> Hmm.
>
> As near as I can tell just moving the action into a function changed nothing:
>
> Mouse 3 W M Function MoveWindow
>
> DestroyFunc MoveWindow
> AddToFunc MoveWindow I Current Move
                                        ^^^^^^^

This is wrong. It may even move a different window than you click
on. Try

  AddToFunc MoveWindow I Move

> Am I completely clueless? The behaviour still obtains on mouse-release only.

Bye

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 Wed Apr 16 2003 - 02:07:22 BST

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