[Top][All Lists]

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

Re: mouse-autoselect-window

From: David Kastrup
Subject: Re: mouse-autoselect-window
Date: Thu, 06 Sep 2007 22:05:16 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

martin rudalics <address@hidden> writes:

>> 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.
> It's needed to avoid that a window-manager with focus-follows-mouse
> policy inadvertently reselects the old frame when you move the mouse the
> first time after `select-frame-set-input-focus'.

On the other hand, naming the option after what it does rather than
the window manager interaction it is intended for might indeed make it
more obvious.

David Kastrup, Kriemhildstr. 15, 44793 Bochum

reply via email to

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