unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: focus-follows-mouse
Date: Mon, 05 May 2008 22:01:18 +0200	[thread overview]
Message-ID: <85skww7c6p.fsf@lola.goethe.zz> (raw)
In-Reply-To: <jwvd4o0mv6i.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Mon, 05 May 2008 15:06:14 -0400")

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> I just noticed that I need to click the mouse to switch the focus
>> between emacs windows (as opposed to emacs frames/X windows which are
>> switched between based on the mouse movement).
>> Even though the documentation of focus-follows-mouse makes it abundantly
>> clear that this is not the intent of the variable, I think it would be
>> better if emacs switched the emacs window focus based on mouse movement
>> when this variable is set to non-nil.
>
> You mean that mouse-autoselect-window should default to the value of
> focus-follows-mouse?
>
> This has been proposed and it might make sense, but I'm not sure it's
> a good idea: just like focus-follows-mouse is problematic in MacOS
> (because you may need to move the mouse over some other frame just in
> order to access the menu-bar), mouse-autoselect-window is problematic
> because you may need to move your mouse over another window in order
> to reach the menu-bar.

Not just that.  In my window manager, I prefer lazy focus, which means
that accidental movement of the mouse does not cause any change on
workspaces with a single Emacs frame and no other windows (where the
track pad feels touched sometimes, this is quite important).

mouse-autoselect-window would disturb me.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




  reply	other threads:[~2008-05-05 20:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-05 18:09 focus-follows-mouse Sam Steingold
2008-05-05 18:16 ` focus-follows-mouse David Kastrup
2008-05-05 18:35   ` focus-follows-mouse Sam Steingold
2008-05-05 19:06 ` focus-follows-mouse Stefan Monnier
2008-05-05 20:01   ` David Kastrup [this message]
2008-05-05 20:56   ` focus-follows-mouse martin rudalics
2008-05-05 23:11 ` focus-follows-mouse Miles Bader

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=85skww7c6p.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).