>  > I did a quick hack to demonstrate that it
>  > works in principle on X.
> 
> I did a quick hack for w32 and it appears that should work 
> for mac too.
> Anyway, I have to write a _function_ that returns non-nil whenever a
> menu is active.  And probably I should handle popup menus and dialog
> boxes as well.  Can you think of something else this should handle?

The function I wrote just returned Qnil/Qt based on popup_activated(), which
is non-zero if the menu-bar or a popup-menu is active.  That includes dialog
boxes.

In some ways it's a pity we can't (I assume we can't) shoehorn scroll-bar
activation into it too, since that would remove the necessity for the extra
conditions in mouse-autoselect-window-cancel.

I can't think of anything else to handle.  Simon.




_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to