Skip to content

Commit

Permalink
(Focus Events): Most X window managers don't use focus-follows-mouse
Browse files Browse the repository at this point in the history
nowadays.
  • Loading branch information
Chong Yidong committed Mar 25, 2009
1 parent 98d7c62 commit 09e50a7
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions doc/lispref/commands.texi
Expand Up @@ -1567,13 +1567,12 @@ Focus events are represented in Lisp as lists that look like this:
@noindent
where @var{new-frame} is the frame switched to.

Most X window managers are set up so that just moving the mouse into a
window is enough to set the focus there. Emacs appears to do this,
because it changes the cursor to solid in the new frame. However, there
is no need for the Lisp program to know about the focus change until
some other kind of input arrives. So Emacs generates a focus event only
when the user actually types a keyboard key or presses a mouse button in
the new frame; just moving the mouse between frames does not generate a
Some X window managers are set up so that just moving the mouse into a
window is enough to set the focus there. Usually, there is no need
for a Lisp program to know about the focus change until some other
kind of input arrives. Emacs generates a focus event only when the
user actually types a keyboard key or presses a mouse button in the
new frame; just moving the mouse between frames does not generate a
focus event.

A focus event in the middle of a key sequence would garble the
Expand Down

0 comments on commit 09e50a7

Please sign in to comment.