[Top][All Lists]

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

RE: mouse-autoselect-window

From: Drew Adams
Subject: RE: mouse-autoselect-window
Date: Thu, 6 Sep 2007 09:36:23 -0700

> > `focus-follows-mouse' has no effect in MS Windows, according to
> > the doc and to my experience.
> The doc is wrong, and should be changed.
> focus-follows-mouse has the same effect on Windows as on any other
> system. AFAICT the only effect is that when set, the mouse gets moved to
> the newly focused frame when the focussed frame is changed
> programatically (so that the window manager honors the focus change).
> You can see this with ediff for example.

1. I'm not 100% sure I understand you. I guess you mean that if, for
example, some code does `select-frame-set-input-focus', then the mouse
pointer will be moved to the newly selected frame. Is that right?

That's certainly true. But if that is the only intended effect of
`focus-follows-mouse', then I'd say that this option should be named
`mouse-follows-focus', not the reverse. IOW, what you describe (and what I
see) is that _if_ the focus is changed to another frame _then_ the mouse is
warped to that frame.

2. Also, people often say, rightly or wrongly, that `focus-follows-mouse' is
useless, inappropriate, ineffective etc. for use with window managers that
impose a click-frame-to-focus policy. If the only intended effect of
`focus-follows-mouse' is what you say it is, then these (common) statements
are off the mark, and whatever window manager policy one has would appear to
be irrelevant.

reply via email to

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