On Wed, Dec 18, 2002 at 11:44:47AM -0600, Rob Windsor wrote:
> On Wed, 18 Dec 2002 06:56:09 +0100, verily did =?iso-8859-1?q?Christian=20MICHO
> N?= write:
> 
> >> Ok, I've whipped out the manpages and am educated (once again) on what the
> >> letter codes are.
> 
> >> Also, I've discovered that they work if I click the mouse immediately after
> >> pressing the function key.  Therefore, it looks like something changed in
> >> the code and all "I"s are treated like "C"s when called from a kbd event.
> 
> > I think this is wrong.
> > "M" stands for motion, yes, but I think you need a click to define the
> > beginning of the motion.
> 
> It didn't used to be this way ("M" requiring a click).  <insert standard
> "I liked the old way better" whine here.>

Well, if this used to work in 2.2.x as you claim, it was a bug in
2.2.x.  Obviously, anything but "I" makes zero sense in keyboard
bindings, and relying on it to work in a certain way is relying on
unspecified behaviour.

> > If you want to move immediately after pressing F2, then do this:
> > AddToFunc Move-or-Raise I Raise
> > + I Move
> > + D Lower

Key bindings should not use the mouse related bits "M", "D", "H"
and "C".  Use this instead:

  Key f2 A N Move

> > It will work. But then your "D" doesn't work anymore. You need in fact a
> > triple click (1 to end the move, 2 to lower)
> 
> > Try this then:
> > AddToFunc Move-or-Raise I Raise
> > + I Move
> > + C Lower

  AddToFunc Raise-and-Move-kb
  + I Raise
  + I Move

  Key f2 A N Raise-and-Move-kb

> > This should do what you intended initially. This is done on 2.4.13.
> 
> > Hope this it helps.
> 
> Yeah, this does work, but I think it's a bug in the code.
> 
> I wonder what changed between 2.2.4 and 2.4.13 that changed this behavior.
> The functions I'm using are *still* in assorted file in sample.fvwmrc/.

The functions are not intended to be used for key bindings.

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 [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to