[17619] in Athena Bugs

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

Re: sun4 8.3.26: mwm

daemon@ATHENA.MIT.EDU (Greg Hudson)
Sat Mar 4 15:04:14 2000

Message-Id: <200003042004.PAA11385@small-gods.mit.edu>
To: Jacob Morzinski <jmorzins@MIT.EDU>
Cc: bugs@MIT.EDU
In-Reply-To: Your message of "03 Mar 2000 23:02:49 EST."
             <w6m8zzzfkly.fsf@alice-whacker.mit.edu> 
Date: Sat, 04 Mar 2000 15:04:10 -0500
From: Greg Hudson <ghudson@MIT.EDU>

> I haven't checked to see if this is still true, but if it is, then
> we would not be able to bind both Mouse1 and NumLock-Mouse1 events
> to pop up menus, or move windows, etc.

Relax, we have source.  And, interestingly, this problem doesn't occur
with the native mwm under IRIX, even though Num_Lock is assigned to a
modifier (Mod2) and xev reports different states for keypresses
depending on whether num lock is pressed.  I would be interested to
get a peek at the IRIX mwm source code to see how they deal with this
problem, so I can be consistent, but pretty much guess: on startup, we
look at the modifier mappings and see if Num_Lock is assigned to one
of them, and then we mask that modifier out of key event states before
looking them up.

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