FVWM: key/mouse binding lists

From: Todd Fries <todd_at_davidalan.com>
Date: Sat, 15 Jun 1996 19:53:43 -0500 (CDT)

>From what I can tell, fvwm keeps a linked list of keybindings and mouse bindings
that are all applied to each window that is captured at the time the window
is captured, and at no other time.

This behavior is ok if you are not:

a) redefining keybindings
b) playing games that require 'dumping' keybindings
c) anything else similar...

Let me explain.

Like 'Style "*" NoTitle', 'Key Left A M -10 +0' does not take effect until
I either recapture every window, or popup a new window, which then has the
desired effect. My guess is this has something to do with the X protocol or
a per window info fvwm keeps track of or something...

What I would like to point out that should (imho) be on the todo list is
the ability to undefine a keybinding or mouse binding. Currently, when one
defines a keybinding, it is added to a linked list of keybindings...but I see
no way currently to remove it from this list. For example, if I want to
define a function as below, I cannot:

AddToFunc run_a_game
+ "I" Key Left A M (undefine)
+ "I" Key Right A M (undefine)
+ "I" Key Up A M (undefine)
+ "I" Key Down A M (undefine)
+ "I" Key Left A C (undefine)
+ "I" Key Right A C (undefine)
+ "I" Key Up A C (undefine)
+ "I" Key Down A C (undefine)
+ "I" Key Left A SC (undefine)
+ "I" Key Right A SC (undefine)
+ "I" Key Up A SC (undefine)
+ "I" Key Down A SC (undefine)
+ "I" Key Left A SM (undefine)
+ "I" Key Right A SM (undefine)
+ "I" Key Up A SM (undefine)
+ "I" Key Down A SM (undefine)
+ "I" Exec $1 $2 $3 $4 $5 $6
+ "I" Wait $1
+ "I" Key Left A C Scroll -100 0
+ "I" Key Right A C Scroll +100 +0
+ "I" Key Up A C Scroll +0 -100
+ "I" Key Down A C Scroll +0 +100
+ "I" Key Left A M Scroll -10 +0
+ "I" Key Right A M Scroll +10 +0
+ "I" Key Up A M Scroll +0 -10
+ "I" Key Down A M Scroll +0 +10
+ "I" Key Left A SC CursorMove -1 0
+ "I" Key Right A SC CursorMove +1 +0
+ "I" Key Up A SC CursorMove +0 -1
+ "I" Key Down A SC CursorMove +0 +1
+ "I" Key Left A SM CursorMove -10 +0
+ "I" Key Right A SM CursorMove +10 +0
+ "I" Key Up A SM CursorMove +0 -10
+ "I" Key Down A SM CursorMove +0 +10

(at least I don't see any way to do this...).

Currently, to get around this, when I go to play Doom or
quake, I must restart fvwm, as I (at startup) don't have the
keys bound to anything...I use a menu option to read the
keybindings file...

Anyone want to tackle this? I kindof know what needs to
happen (if a keybinding 'function' is a '-', for example,
and it is in the linked list of keybindings, remove and
free it...) but I'm not sure if I understand X or fvwm
well enough to pull it off gracefully...

Anyone willing to help here?
-- 
Todd Fries .. todd_at_miango.com .. todd_at_emcee.com .. tfries_at_umr.edu
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Sat Jun 15 1996 - 19:57:15 BST

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