[Top][All Lists]

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

Re: mouse-autoselect-window

From: Eli Zaretskii
Subject: Re: mouse-autoselect-window
Date: Wed, 05 Sep 2007 20:33:03 +0300

> From: "Drew Adams" <address@hidden>
> Date: Tue, 4 Sep 2007 22:53:14 -0700
> When you move the mouse to a different frame, the mode line is activated,
> and the menu-bar and the tool-bar icons change (depending on the buffer),
> giving the impression that the focus has shifted to the window under the
> mouse in the new frame. But the focus remains in the last window the mouse
> was in in the old frame. The frame border and title bar of the old frame
> show that it still has the focus; it is only the mode line, menu-bar, and
> tool bar that indicate (falsely) the contrary.

This happens with the (default) focus policy on MS-Windows.  For this
Emacs feature to work properly, you need to change the window
manager's focus policy to follow mouse (this is usually the default
behavior on X, or at least it used to be, before the proliferation of
desktop and windows managers that emulate MS-Windows).

> IIUC, on MS Windows there is no way for Emacs to override the
> click-to-focus-frame behavior.

Emacs cannot override that, but you as the user can do that (globally,
for all the windows on your desktop).  One way of doing that is to
install the TweakUI package from the Windows PowerToys collection.
TweakUI has an option to change focus policy to follow mouse pointer.

reply via email to

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