emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: mouse-autoselect-window with menu pane


From: Marshall, Simon
Subject: RE: mouse-autoselect-window with menu pane
Date: Fri, 15 Sep 2006 13:47:06 +0100

>  > 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.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]