[5238] in Athena Bugs

home help back first fref pref prev next nref lref last post

vax 7.0F: mwm

daemon@ATHENA.MIT.EDU (dcc@ATHENA.MIT.EDU)
Thu Jun 21 14:36:49 1990

From: dcc@ATHENA.MIT.EDU
To: bugs@ATHENA.MIT.EDU
Date: Wed, 20 Jun 90 11:26:30 EDT

System name:		thanatos
Type and version:	DS3100 /mit/x11r4/decmipsbin/Xcfbpmax
                               /mit/motifdev/decmipsbin/mwm
Display type:		CFB

What were you trying to do?
	tailor the user interface

What's wrong:

	In my .mwmrc I have the lines

		<Btn2Down>	frame		f.minimize
		<Btn2Down>	icon		f.normalize

        When I press button 2 down in the frame or icon the correct action
        occurs, but mwm fails to grab the subsequent button up event.
        As a result, the button up event is delivered to whatever the pointer
        happens to be pointing to, which is not the window or icon origionally
        clicked upon.

        This is a severe problem if the button up
        event is delivered to an xterm, since a button up event in an xterm 
        means paste.  The result is likely random text being dumped
        into the xterm.

What should have happened:

        Mwm should use a grab or maintain a grab such that the button up
        event is obsorbed.

        I have worked around the problem by using the lines

		<Btn2Click>	frame		f.minimize
		<Btn2Click>	icon		f.normalize

        insted.  The resulting behavior is slitely different, but I can
        live with it.

home help back first fref pref prev next nref lref last post