FVWM: Releasing Mouse bindings under fvwm 2.0.46

From: Ted Faber <faber_at_ISI.EDU>
Date: Fri, 16 Jan 1998 12:09:20 -0800

-----BEGIN PGP SIGNED MESSAGE-----



Hi, folks.

I have a problem unbinding mouse keys from fvwm which looks to be a
bug to me, but I wanted to know if I'm missing something. First a
little context, then the relevent fvwm2rc bits, then the bug
description. I'm running fvwm-2.0.46 on Solaris 5.5.1 on a Sparc
Ultra-1. The X server is Openwindows-3.0.

I bind modified mouse presses (e.g. ctrl-button-1) to fvwm functions
(iconify, raise, lower) in application window contexts. Bunches of
these "newfangled" programs want to use these events for themselves.
Rather than rewire my head and hands to use something else I want to
turn these mouse bindings on and off in fvwm. The relevent exerpts
from my fvwm2rc are:


AddToFunc EnableMouseInWindow "I" Mouse 1 W S Raise
+ "I" Mouse 2 W S Beep
+ "I" Mouse 3 W S Lower
+ "I" Mouse 1 W C Iconify
+ "I" Mouse 2 W C Move
+ "I" Mouse 3 W C Resize
+ "I" Mouse 1 W M Focus
+ "I" Mouse 2 W M Module FvwmIdent
+ "I" Mouse 3 W M Beep
+ "I" Function WMMenu "fvwm Mouse Off" "Function DisableMouseInWindow"
+ "I" Recapture

AddToFunc DisableMouseInWindow "I" Mouse 1 W S
+ "I" Mouse 2 W S -
+ "I" Mouse 3 W S -
+ "I" Mouse 1 W C -
+ "I" Mouse 2 W C -
+ "I" Mouse 3 W C -
+ "I" Mouse 1 W M -
+ "I" Mouse 2 W M -
+ "I" Mouse 3 W M -
+ "I" Function WMMenu "fvwm Mouse On" "Function EnableMouseInWindow"
+ "I" Recapture


I include them on a menu, but you can bind them to function keys to
test this. The bug is that if I create a window, iconify it using
control-button-1, uniconify it, and turn off the bindings, that window
does not get control-button events (or any other modified button
events). A window started fresh when fvwm's modified mouse bindings are
off receives all button events. (I used xev to test this.)

The behavior I'd like is for windows to get the button events that
don't have bindings. In any case I think all windows should recieve
the same events.

If this is a bug, I'd like to get it on the bug list. I don't have
the time or fvwm coding experience to patch this easily.

Please cc me on replies, I'm not subscribed to the fvwm discussion
list.

- ----------------------------------------------------------------------
Ted Faber faber_at_isi.edu
USC/ISI Computer Scientist http://www.isi.edu/~faber
(310) 822-1511 x190 PGP Key: http://www.isi.edu/~faber/pubkey.asc





-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNL++b4b4eisfQ5rpAQFcmwP8DJWVpTe/6CzPO2d/w0aGAoH37HItjdfj
G3Ko1c2TrS3CQQawMTu2qZ/4iJLLr7fS3CamIVPy3N4zvUYjFkUd9yRjKVWyReRg
EpJZEdTycxMePTK8sG3lh2A49VU5aTdB1+dme71bcGQdwOOx+R0enOH2GrNus9Zb
oQRSBCveAbI=
=/V2u
-----END PGP SIGNATURE-----
--
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 Fri Jan 16 1998 - 14:09:43 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:01 BST