On Tue, Mar 02, 2004 at 04:34:52PM +1100, Scott Smedley wrote:
> Hi all,
> 
> Find attached my final patch to bind key &/or mouse events to
> individual windows.

Thanks for your work, Scott.  The only problem I see is how
predictable program behaviour is.  Does the patch re-grab window
bindings when the name/class/resource of the window changes?  If
so, it may be a performance hog, if not, it may confuse the user.
I don't see a good way to handle both problems at the same time.

Anyway, I think I will try this patch with some cosmetic changes.

Some other comments:

- The reference to regular expressions is wrong.  Wildcard
  matching in fvwm has nothing to do with regular expressions
  (although it were nice if it had).
- I'd rather see the four name strings put into a structure (to
  reduce the number arguments passed to the functions).
- Is there a specific reason why the patch handles only key
  bindings?  It should be trivial to extend it to handle mouse and
  stroke bindings too.

Ciao

Dominik ^_^  ^_^
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to