unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#7553: 24.0.50; please disable focus-follows-mouse per default and document mouse movements associated with this variable
@ 2010-12-04 16:35 Gregor Zattler
  2010-12-20 11:16 ` Chong Yidong
  0 siblings, 1 reply; 2+ messages in thread
From: Gregor Zattler @ 2010-12-04 16:35 UTC (permalink / raw)
  To: 7553; +Cc: rfrancoise

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#7553: 24.0.50; please disable focus-follows-mouse per default and document mouse movements associated with this variable
  2010-12-04 16:35 bug#7553: 24.0.50; please disable focus-follows-mouse per default and document mouse movements associated with this variable Gregor Zattler
@ 2010-12-20 11:16 ` Chong Yidong
  0 siblings, 0 replies; 2+ messages in thread
From: Chong Yidong @ 2010-12-20 11:16 UTC (permalink / raw)
  To: Gregor Zattler; +Cc: 7553, rfrancoise

Gregor Zattler <telegraph@gmx.net> writes:

> 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.

I've changed it to nil in the trunk.






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-12-20 11:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-04 16:35 bug#7553: 24.0.50; please disable focus-follows-mouse per default and document mouse movements associated with this variable Gregor Zattler
2010-12-20 11:16 ` Chong Yidong

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).