unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Gregor Zattler <telegraph@gmx.net>
To: 7553@debbugs.gnu.org
Cc: rfrancoise@debian.org
Subject: bug#7553: 24.0.50; please disable focus-follows-mouse per default and document mouse movements associated with this variable
Date: Sat, 04 Dec 2010 17:35:41 +0100	[thread overview]
Message-ID: <8739qdv6le.fsf@shi.workgroup> (raw)

severity wishlist
stop

Please change the default value of the variable focus-follows-mouse to
nil and mention the fact that setting the variable leads to mouse
movements which are not user controlled in the documentation of this
variable.

The current setting leads to surprising and irritating behaviour because
of erratic (from a users perspective) mouse movements as discussed in
bug reports 7269 (http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7269) and
1980 (http://debbugs.gnu.org/cgi/bugreport.cgi?bug=1980).

It is especially annoying when working on a terminal (where one
usually does not use the mouse) and leaving an emacsclient session
suddenly moves mouse and focus to another graphical Emacs frame.

How to reproduce:

Start X with only 
exec xterm
in your ~/.xsession.  

Start X via startx.  This will start X without window manager in order
to reproduce the bug without interference of a window manager.

Move the mouse over the xterm in the upper left hand corner.  Start an
Emacs server with a graphical frame in the bottom right hand corner:

emacs --eval '(server-start)'  -g 40x20-0-0 & 

Edit some file in a terminal session:

emacsclient /tmp/somefile

Leave the editing session via server-edit C-x #.  

Now the mouse jumps to the upper right hand corner of the graphical
Emacs frame.  Focus will follow this mouse movement.  In order to work
in the terminal again one will have to move the mouse back.

This is especially annoying when the terminal window and the graphical
Emacs frame are on different screens. 

Thanks for your attention,
Gregor





             reply	other threads:[~2010-12-04 16:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-04 16:35 Gregor Zattler [this message]
2010-12-20 11:16 ` bug#7553: 24.0.50; please disable focus-follows-mouse per default and document mouse movements associated with this variable Chong Yidong

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=8739qdv6le.fsf@shi.workgroup \
    --to=telegraph@gmx.net \
    --cc=7553@debbugs.gnu.org \
    --cc=rfrancoise@debian.org \
    /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).