[Top][All Lists]
[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.
- RE: mouse-autoselect-window with menu pane, Marshall, Simon, 2006/09/14
- RE: mouse-autoselect-window with menu pane, Marshall, Simon, 2006/09/15
- RE: mouse-autoselect-window with menu pane,
Marshall, Simon <=
- RE: mouse-autoselect-window with menu pane, Marshall, Simon, 2006/09/15
- Re: mouse-autoselect-window with menu pane, Richard Stallman, 2006/09/17
- Re: mouse-autoselect-window with menu pane, martin rudalics, 2006/09/18
- Re: mouse-autoselect-window with menu pane, YAMAMOTO Mitsuharu, 2006/09/18
- Re: mouse-autoselect-window with menu pane, martin rudalics, 2006/09/18
- Re: mouse-autoselect-window with menu pane, YAMAMOTO Mitsuharu, 2006/09/18
- Re: mouse-autoselect-window with menu pane, martin rudalics, 2006/09/18
RE: mouse-autoselect-window with menu pane, Marshall, Simon, 2006/09/18