[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mouse-autoselect-window with menu pane
From: |
martin rudalics |
Subject: |
Re: mouse-autoselect-window with menu pane |
Date: |
Mon, 18 Sep 2006 23:01:59 +0200 |
User-agent: |
Mozilla Thunderbird 1.0 (Windows/20041206) |
> Thanks, seems to work under X. Do you need (fboundp
> 'menu-or-popup-active-p)?
I'll remove that.
> I'm not sure if waiting on average (1.5 * delay) is better than (0.5 *
> delay), but it's fine by me as it is.
I've been driven by the consideration that waiting at least (1.0 *
delay) is better than at least (0.0 * delay). But it doesn't seem to
work on Macs anyway.
> What did you think of treating the scroll-bars in the same way? (That is,
> suspend autoselection if scrolling.)
I could write
((or (menu-or-popup-active-p)
(not (coordinates-in-window-p
(cons mouse-x-position mouse-y-position) window)))
;; A menu / popup dialog is active or the mouse is on the scroll-bar.
;; Suspend autoselection.
(setq mouse-autoselect-window-suspend t))
in `mouse-autoselect-window-select'. Or did you think of something more
elaborate?
- RE: mouse-autoselect-window with menu pane, (continued)
- RE: mouse-autoselect-window with menu pane, Marshall, Simon, 2006/09/15
- 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
- Re: mouse-autoselect-window with menu pane,
martin rudalics <=
RE: mouse-autoselect-window with menu pane, Marshall, Simon, 2006/09/18
RE: mouse-autoselect-window with menu pane, Marshall, Simon, 2006/09/19