I noticed in MenuShellPopdownDone, a section of code with #if 0 around it
which makes it ignore the button up if it happens within
XtGetMultiClickTime.  This appears to be exactly what Motif is doing.
Compiling this code back in, my popup menu no longer pops down if I release
the mouse button quickly enough.  A quick experiment with a version using
Motif shows that Motif does pop the menu down if the mouse button up is
"slow", so that makes sense.

The only difference now is that with Motif, when the menu stays up, the
first item on the menu gets focus (traversal) and with Lesstif it doesn't.
So Motif must be doing something more to force traversal.  I will look into
it more on Monday.

 -- Dave Williss
------
Meddle not in the affairs of dragons,
   for you are crunchy and taste good with catsup



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Lesstif-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/lesstif-discuss

Reply via email to