Next: Non-Window Terminals, Previous: Tooltips, Up: Frames
On graphical terminals, the mouse pointer may obscure the text in the Emacs frame. Emacs provides two methods to avoid this problem.
Firstly, Emacs hides the mouse pointer each time you type a
self-inserting character, if the pointer lies inside an Emacs frame;
moving the mouse pointer makes it visible again. To disable this
feature, set the variable make-pointer-invisible to nil.
See Display Custom.
Secondly, you can use Mouse Avoidance mode, a minor mode, to keep
the mouse pointer away from point. To use Mouse Avoidance mode,
customize the variable mouse-avoidance-mode. You can set this
to various values to move the mouse in several ways:
banishmouse-avoidance-banish-position to
specify where the pointer goes when it is banished.
exilejumpanimatejump, but shows steps along the way for illusion of motion.
cat-and-mouseanimate.
proteusanimate, but changes the shape of the mouse pointer too.
You can also use the command M-x mouse-avoidance-mode to enable the mode. Whenever Mouse Avoidance mode moves the mouse, it also raises the frame.